Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/09/2018, à 22:09

jklesnegres

Erreur paquets (RESOLU)

Bonjour,
Je suis sous ubuntu 16.04
Lors des MAJ, lors des opérations sur les paquets, il me sort les  erreurs suivantes. Synaptic bugg dessus et s'arrête.

W: La cible Packages (partner/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible Packages (partner/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible Translations (partner/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible Translations (partner/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible Translations (partner/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible DEP-11 (partner/dep11/Components-i386.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible DEP-11-icons (partner/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75
W: La cible Packages (partner/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4
W: La cible Packages (partner/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4
W: La cible Translations (partner/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4
W: La cible Translations (partner/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4
W: La cible Translations (partner/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4
W: La cible DEP-11 (partner/dep11/Components-i386.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4
W: La cible DEP-11-icons (partner/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list.d/xenial-partner.list:4


Je fais comment?
Avec ça impossible de passer à la version 18.04

Merci de vos réponses

JK

Dernière modification par jklesnegres (Le 20/09/2018, à 23:03)

Hors ligne

#2 Le 20/09/2018, à 22:17

xubu1957

Re : Erreur paquets (RESOLU)

Bonjour,

Il faut donner, en te servant du  Retour utilisable de commande :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Tu peux remplacer les balises quote par des balises code dans ton message #1.

Dernière modification par xubu1957 (Le 20/09/2018, à 22:19)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 20/09/2018, à 22:22

jklesnegres

Re : Erreur paquets (RESOLU)

jk@jk-K73E:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-xenial.list

     1	deb http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main
     2	# deb-src http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main

/etc/apt/sources.list.d/michael-gruz-ubuntu-canon-trunk-xenial.list

     1	# deb http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial main
     2	# deb-src http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial main

/etc/apt/sources.list.d/pipelight-ubuntu-stable-xenial.list

     1	# deb http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main
     2	# deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main
     3	# deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu xenial main

/etc/apt/sources.list.d/rolfbensch-ubuntu-sane-git-xenial.list

     1	# deb http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu xenial main
     2	# deb-src http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu xenial main
     3	# deb-src http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu xenial main

/etc/apt/sources.list.d/bitmask.list

     1	# deb http://deb.leap.se/client release stretch

/etc/apt/sources.list.d/spideroakone.list

     1	# deb http://APT.spideroak.com/ubuntu-spideroak-hardy/ release restricted
     2	

/etc/apt/sources.list.d/xenial-partner.list

     1	# channel for the xenial (16.04) partner channel
     2	# 
     3	#:description:This channel contains the partner software for xenial
     4	deb http://archive.canonical.com/ubuntu xenial partner

/etc/apt/sources.list.d/google-earth.list

     1	### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2	# You may comment out this entry, but any other modifications may be lost.
     3	# deb http://dl.google.com/linux/earth/deb/ stable main

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release i386 (20160719)]/ xenial main restricted
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
     5	
     6	## Major bug fix updates produced after the final release of the
     7	## distribution.
     8	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
     9	
    10	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    11	## team. Also, please note that software in universe WILL NOT receive any
    12	## review or updates from the Ubuntu security team.
    13	deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
    14	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
    15	
    16	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    17	## team, and may not be under a free licence. Please satisfy yourself as to 
    18	## your rights to use the software. Also, please note that software in 
    19	## multiverse WILL NOT receive any review or updates from the Ubuntu
    20	## security team.
    21	
    22	## N.B. software from this repository may not have been tested as
    23	## extensively as that contained in the main release, although it includes
    24	## newer versions of some applications which may provide useful features.
    25	## Also, please note that software in backports WILL NOT receive any review
    26	## or updates from the Ubuntu security team.
    27	
    28	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-security main restricted
    29	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-security universe
    30	
    31	## Uncomment the following two lines to add software from Canonical's
    32	## 'partner' repository.
    33	## This software is not part of Ubuntu, but is offered by Canonical and the
    34	## respective vendors as a service to Ubuntu users.
    35	deb http://archive.canonical.com/ubuntu xenial partner
    36	# deb-src http://archive.canonical.com/ubuntu precise partner
    37	
    38	
    39	
    40	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    41	# newer versions of the distribution.
    42	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
    43	
    44	## Major bug fix updates produced after the final release of the
    45	## distribution.
    46	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    47	
    48	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    49	## team, and may not be under a free licence. Please satisfy yourself as to
    50	## your rights to use the software. Also, please note that software in
    51	## universe WILL NOT receive any review or updates from the Ubuntu security
    52	## team.
    53	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
    54	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
    55	
    56	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    57	## team, and may not be under a free licence. Please satisfy yourself as to 
    58	## your rights to use the software. Also, please note that software in 
    59	## multiverse WILL NOT receive any review or updates from the Ubuntu
    60	## security team.
    61	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
    62	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    63	
    64	## N.B. software from this repository may not have been tested as
    65	## extensively as that contained in the main release, although it includes
    66	## newer versions of some applications which may provide useful features.
    67	## Also, please note that software in backports WILL NOT receive any review
    68	## or updates from the Ubuntu security team.
    69	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    70	
    71	## Uncomment the following two lines to add software from Canonical's
    72	## 'partner' repository.
    73	## This software is not part of Ubuntu, but is offered by Canonical and the
    74	## respective vendors as a service to Ubuntu users.
    75	deb http://archive.canonical.com/ubuntu xenial partner
    76	# deb-src http://archive.canonical.com/ubuntu xenial partner
    77	
    78	deb http://security.ubuntu.com/ubuntu xenial-security main restricted
    79	# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    80	deb http://security.ubuntu.com/ubuntu xenial-security universe
    81	# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    82	# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    83	# deb-src http://deb.bitmask.net/debian xenial main
    84	# deb http://deb.bitmask.net/debian xenial main
    85	# deb-src http://deb.bitmask.net/debian xenial main
    86	# deb-src http://deb.bitmask.net/debian xenial main
    87	# deb-src http://deb.bitmask.net/debian xenial main
    88	# deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse
    89	# deb-src http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse
    90	# deb-src http://deb.bitmask.net/debian xenial main
    91	# deb-src http://deb.bitmask.net/debian xenial main
jk@jk-K73E:~$ 

Et voilà

Hors ligne

#4 Le 20/09/2018, à 22:31

xubu1957

Re : Erreur paquets (RESOLU)

Cette ligne :

35	deb http://archive.canonical.com/ubuntu xenial partner

fait doublon avec :

     4	deb http://archive.canonical.com/ubuntu xenial partner

Il faudrait commenter (avec un #) la ligne 35.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 20/09/2018, à 22:37

jklesnegres

Re : Erreur paquets (RESOLU)

Ok merci, mais je fais comment pour commenter (avec un #) la ligne 35.

Et toutes ces lignes d'erreur pour ça?

Hors ligne

#6 Le 20/09/2018, à 22:43

xubu1957

Re : Erreur paquets (RESOLU)

Regarde la Doc > comment_modifier_sources


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#7 Le 20/09/2018, à 22:52

jklesnegres

Re : Erreur paquets (RESOLU)

Bon j'ai trouvé comment modifier le fichier.
Merci
J'essaye voir si ça marche.

Hors ligne

#8 Le 20/09/2018, à 22:54

jklesnegres

Re : Erreur paquets (RESOLU)

Bon et bien c'était ça, il y avait aussi la ligne 75, j'ai mis un # aussi.

Merci pour l'aide

Hors ligne

#9 Le 20/09/2018, à 23:07

xubu1957

Re : Erreur paquets (RESOLU)

C'était indiqué :

W: La cible Packages (partner/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:35 et /etc/apt/sources.list:75

Le sources.list me parait toujours complexe.

Le mien est frugal :

xubu@xubu-ThinkPad-T410:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	#------------------------------------------------------------------------------#
     2	#                            OFFICIAL UBUNTU REPOS                             #
     3	#------------------------------------------------------------------------------#
     4	
     5	
     6	###### Ubuntu Main Repos
     7	deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
     8	
     9	###### Ubuntu Update Repos
    10	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
    11	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 
    12	deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
    13	
    14	###### Ubuntu Partner Repo
    15	deb http://archive.canonical.com/ubuntu xenial partner
    16	
xubu@xubu-ThinkPad-T410:~$ 

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#10 Le 29/04/2021, à 23:51

mcdu77

Re : Erreur paquets (RESOLU)

Merci merci merci des heures... Merci smile

Hors ligne