Discussion: Aptitude warning msg
Afficher un message
Vieux 14/06/2007, 21h10   #1
Manon Metten
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Aptitude warning msg

Hi,

When I run aptitude update, I keep getting this error message:

W: Duplicate sources.list entry http://ftp.nl.debian.org etch/main Packages
(/var/lib/apt/lists/ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages)

W: You may want to run apt-get update to correct these problems

When I run aptitude update a second time, it doesn't complain no more.
But the next time I run aptitude update, the warning appears again.


Should I remove the following line from my /etc/apt/sources.list:

deb http://ftp.nl.debian.org/debian/ etch main

or should I remove the following file from /var/lib/apt/lists:

ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages

or should I do nothing at all and just run aptitude update twice?


Thanks, Manon.



Here's my etc/apt/sources.list:

# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 kde-CD Binary-1
20070407-12:10] etch contrib main
deb http://ftp.nl.debian.org/debian/ etch main
deb-src http://ftp.nl.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.nl.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.nl.debian.org/debian/ etch main contrib non-free
deb http://www.backports.org/debian etch-backports main contrib non-free
deb http://www.debian-multimedia.org etch main

Here's what's in /var/lib/apt:

lock
partial
ftp.nl.debian.org_debian_dists_etch_contrib_binary-i386_Packages
ftp.nl.debian.org_debian_dists_etch_contrib_source _Sources
ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages
ftp.nl.debian.org_debian_dists_etch_main_source_So urces
ftp.nl.debian.org_debian_dists_etch_non-free_binary-i386_Packages
ftp.nl.debian.org_debian_dists_etch_non-free_source_Sources
ftp.nl.debian.org_debian_dists_etch_Release
ftp.nl.debian.org_debian_dists_etch_Release.gpg
security.debian.org_dists_etch_updates_contrib_bin ary-i386_Packages
security.debian.org_dists_etch_updates_contrib_sou rce_Sources
security.debian.org_dists_etch_updates_main_binary-i386_Packages
security.debian.org_dists_etch_updates_main_source _Sources
security.debian.org_dists_etch_updates_Release
security.debian.org_dists_etch_updates_Release.gpg
http://www.backports.org_debian_dist...-i386_Packages
http://www.backports.org_debian_dist...ages.IndexDiff
http://www.backports.org_debian_dist...-i386_Packages
http://www.backports.org_debian_dist...ages.IndexDiff
http://www.backports.org_debian_dist...-i386_Packages
http://www.backports.org_debian_dist...ages.IndexDiff
http://www.backports.org_debian_dist...kports_Release
http://www.backports.org_debian_dist...ts_Release.gpg
http://www.debian-multimedia.org_dis...-i386_Packages
www.debian-multimedia.org_dists_etch_Release
www.debian-multimedia.org_dists_etch_Release.gpg

  Réponse avec citation
 
Page generated in 0,06453 seconds with 9 queries