|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Thu, Jun 14, 2007 at 07:08:56PM +0000, Manon Metten wrote:
> > 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 That depends. this line is just for main. The duplicate is for more than just main. If you want the more, then delete the line with just main. If you only want main, delete the line with more. > > or should I remove the following file from /var/lib/apt/lists: > > ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages > No. /var/lib/ belongs to the packages involved. If you fix sources.list, then apt will fix its own lists. Doug. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Hi Manon.
Manon Metten, 14.06.2007 21:08: > When I run aptitude update, I keep getting this error message: > > […] > 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://ftp.nl.debian.org/debian/ etch main contrib non-free > deb-src http://ftp.nl.debian.org/debian/ etch main contrib non-free Except of the categories, these mirrors are indeed doubled. Drop the first two lines, they make no sense here. Regards, Mathias -- debian/rules -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGcZMGYfUFJ3ewsJgRAoxdAJ9p9TuPCzAElKdQtEpf96 lF3PduPgCeP5kf KPMmgFzT2/syp8bbLrlc8YE= =3Lgl -----END PGP SIGNATURE----- |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Hi Matthias, Douglas,
On 6/14/07, Mathias Brodala <info@noctus.net> wrote: > deb http://ftp.nl.debian.org/debian/ etch main > > deb-src http://ftp.nl.debian.org/debian/ etch main > > […] > > 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 > > Except of the categories, these mirrors are indeed doubled. Drop the first > two > lines, they make no sense here. > On 6/14/07, Douglas Allan Tutty <dtutty@porchlight.ca> wrote: > Should I remove the following line from my /etc/apt/sources.list: > > > > deb http://ftp.nl.debian.org/debian/ etch main > > That depends. this line is just for main. The duplicate is for more > than just main. If you want the more, then delete the line with just > main. If you only want main, delete the line with more. I've removed the following lines from /etc/apt/sources.list: deb http://ftp.nl.debian.org/debian/ etch main deb-src http://ftp.nl.debian.org/debian/ etch main I hope this will do. > > or should I remove the following file from /var/lib/apt/lists: > > > > ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages > > > > No. /var/lib/ belongs to the packages involved. If you fix > sources.list, then apt will fix its own lists. So, does this mean that /var/lib/lists is configured during installation of Debian? Can you point me to some more info on this topic? Thanks to the both of you, for your . Manon. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Thu, Jun 14, 2007 at 07:26:45PM +0000, Manon Metten wrote:
> Hi Matthias, Douglas, > > On 6/14/07, Mathias Brodala <info@noctus.net> wrote: > > >deb http://ftp.nl.debian.org/debian/ etch main > >> deb-src http://ftp.nl.debian.org/debian/ etch main > >> […] > >> 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 > > > >Except of the categories, these mirrors are indeed doubled. Drop the first > >two > >lines, they make no sense here. > > > > > On 6/14/07, Douglas Allan Tutty <dtutty@porchlight.ca> wrote: > > >Should I remove the following line from my /etc/apt/sources.list: > >> > >> deb http://ftp.nl.debian.org/debian/ etch main > > > >That depends. this line is just for main. The duplicate is for more > >than just main. If you want the more, then delete the line with just > >main. If you only want main, delete the line with more. > > > > > I've removed the following lines from /etc/apt/sources.list: > > deb http://ftp.nl.debian.org/debian/ etch main > deb-src http://ftp.nl.debian.org/debian/ etch main > > I hope this will do. > It will. I expect aptitude does not complain about duplicates anymore. > > > > >> or should I remove the following file from /var/lib/apt/lists: > >> > >> ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages > >> > > > >No. /var/lib/ belongs to the packages involved. If you fix > >sources.list, then apt will fix its own lists. > > > So, does this mean that /var/lib/lists is configured during installation of > Debian? aptitude update writes the files in that directory. They are the package lists downloaded from the repository. These simply contain the list of packages available in that repository, along with other metadata such as available version numbers, descriptions, etc. You can open the files in any text editor to see their contents. Using aptitude show <pkgname>, for example, picks up the metadata from these files. For your sources.list, aptitude has downloaded the package list from ftp://ftp.nl.debian.org/debian/dists...n/binary-i386/. -- Kushal Kumaran kushal@it.iitb.ac.in -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Thu, Jun 14, 2007 at 07:26:45PM +0000, Manon Metten wrote:
> On 6/14/07, Mathias Brodala <info@noctus.net> wrote: > >deb http://ftp.nl.debian.org/debian/ etch main > >> deb-src http://ftp.nl.debian.org/debian/ etch main > >> […] > >> 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 > > > >Except of the categories, these mirrors are indeed doubled. Drop the first > >two > >lines, they make no sense here. > On 6/14/07, Douglas Allan Tutty <dtutty@porchlight.ca> wrote: > > >Should I remove the following line from my /etc/apt/sources.list: > >> deb http://ftp.nl.debian.org/debian/ etch main > > > >That depends. this line is just for main. The duplicate is for more > >than just main. If you want the more, then delete the line with just > >main. If you only want main, delete the line with more. > > I've removed the following lines from /etc/apt/sources.list: > deb http://ftp.nl.debian.org/debian/ etch main > deb-src http://ftp.nl.debian.org/debian/ etch main > > I hope this will do. > > >> or should I remove the following file from /var/lib/apt/lists: > >> ftp.nl.debian.org_debian_dists_etch_main_binary-i386_Packages > >No. /var/lib/ belongs to the packages involved. If you fix > >sources.list, then apt will fix its own lists. > > So, does this mean that /var/lib/lists is configured during installation of > Debian? > Can you point me to some more info on this topic? Hi Manon. Just do anothe aptitude update. Aptitude will fix its /var/lib/apt/lists and all will be well. Doug. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Hi Kushal, Douglas,
On 6/14/07, Kushal Kumaran <kushal@it.iitb.ac.in> wrote: > So, does this mean that /var/lib/lists is configured during installation > of > > Debian? > > aptitude update writes the files in that directory. They are the > package lists downloaded from the repository. These simply contain > the list of packages available in that repository, along with other > metadata such as available version numbers, descriptions, etc. You > can open the files in any text editor to see their contents. > > Using aptitude show <pkgname>, for example, picks up the metadata from > these files. For your sources.list, aptitude has downloaded the package list from > ftp://ftp.nl.debian.org/debian/dists...n/binary-i386/. Thanks for explaining. I learn a little every day. On 6/14/07, Douglas Allan Tutty <dtutty@porchlight.ca> wrote: Just do another aptitude update. Aptitude will fix its > /var/lib/apt/lists and all will be well. It works as you said it would. Aptitude is not complaining anymore. Thanks for your highly appreciated advice. Greetings and thanks to the both of you, Manon. |
|
![]() |
| Outils de la discussion | |
|
|