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 07/01/2015, à 00:29

Guanac

[apt-get update] Duplicate Source list - updates impossibles

Bonjour tout le monde, je sais que je ne suis pas le seul à avoir ce problème, mais je ne vois pas comment le régler dans mon cas (je bidouille mais en pur amateur).

Quand je lance un ' sudo apt-get update' j'obtiens ça :

Reading package lists... Done
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ utopic-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ utopic-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Voici ma source list, avec d'inquiétants messages....

guanac@guanac-desktop:~$  cat -n /etc/apt/sources.list
     1	# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release i386 (20131016.1)]/ saucy main restricted
     2	deb http://archive.ubuntu.com/ubuntu/ utopic main restricted
     3	deb http://security.ubuntu.com/ubuntu/ utopic-security main restricted
     4	deb http://archive.ubuntu.com/ubuntu/ utopic-updates main restricted
     5	
     6	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     7	# newer versions of the distribution.
     8	deb http://ch.archive.ubuntu.com/ubuntu/ utopic main restricted
     9	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic main restricted
    10	
    11	## Major bug fix updates produced after the final release of the
    12	## distribution.
    13	deb http://ch.archive.ubuntu.com/ubuntu/ utopic-updates main restricted
    14	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic-updates main restricted
    15	
    16	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    17	## team. Also, please note that software in universe WILL NOT receive any
    18	## review or updates from the Ubuntu security team.
    19	deb http://ch.archive.ubuntu.com/ubuntu/ utopic universe
    20	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic universe
    21	deb http://ch.archive.ubuntu.com/ubuntu/ utopic-updates universe
    22	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic-updates universe
    23	
    24	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    25	## team, and may not be under a free licence. Please satisfy yourself as to 
    26	## your rights to use the software. Also, please note that software in 
    27	## multiverse WILL NOT receive any review or updates from the Ubuntu
    28	## security team.
    29	deb http://ch.archive.ubuntu.com/ubuntu/ utopic multiverse
    30	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic multiverse
    31	deb http://ch.archive.ubuntu.com/ubuntu/ utopic-updates multiverse
    32	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic-updates multiverse
    33	
    34	## N.B. software from this repository may not have been tested as
    35	## extensively as that contained in the main release, although it includes
    36	## newer versions of some applications which may provide useful features.
    37	## Also, please note that software in backports WILL NOT receive any review
    38	## or updates from the Ubuntu security team.
    39	deb http://ch.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse
    40	deb-src http://ch.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse
    41	
    42	deb http://security.ubuntu.com/ubuntu utopic-security main restricted
    43	deb-src http://security.ubuntu.com/ubuntu utopic-security main restricted
    44	deb http://security.ubuntu.com/ubuntu utopic-security universe
    45	deb-src http://security.ubuntu.com/ubuntu utopic-security universe
    46	deb http://security.ubuntu.com/ubuntu utopic-security multiverse
    47	deb-src http://security.ubuntu.com/ubuntu utopic-security multiverse
    48	
    49	## Uncomment the following two lines to add software from Canonical's
    50	## 'partner' repository.
    51	## This software is not part of Ubuntu, but is offered by Canonical and the
    52	## respective vendors as a service to Ubuntu users.
    53	# deb http://archive.canonical.com/ubuntu saucy partner
    54	# deb-src http://archive.canonical.com/ubuntu saucy partner
    55	
    56	## This software is not part of Ubuntu, but is offered by third-party
    57	## developers who want to ship their latest software.
    58	deb http://extras.ubuntu.com/ubuntu utopic main
    59	deb-src http://extras.ubuntu.com/ubuntu utopic main
    60	deb http://archive.canonical.com/ utopic partner
    61	# deb-src http://archive.canonical.com/ saucy partner

Si j'envoie le cat sur les listes qui apparaissent dans le fichier ' /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages ' j'ai des gros blocs encryptés derrière les lignes qui parlent de nvidia modaliases...à plusieurs reprises.

Qqn une idée ?

Hors ligne

#2 Le 07/01/2015, à 01:25

xabilon

Re : [apt-get update] Duplicate Source list - updates impossibles

Salut

Tu as des dépôts en double, notamment la ligne 3 et 42. C'est delà que vient l'erreur. Il faut en supprimer une des deux.
Il y a aussi la 2 et la 8, ainsi que 4 et 13. Elles ne donnent pas d'erreur parce que ce sont des miroirs différents, mais ils sont redondants.

Dernière modification par xabilon (Le 07/01/2015, à 01:26)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#3 Le 07/01/2015, à 01:34

nany

Re : [apt-get update] Duplicate Source list - updates impossibles

Bonjour,

+1
Et pour faire simple, il faut virer les lignes 2, 3 et 4. Ça permettra de conserver le serveur pour la Suisse.

Hors ligne