PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Aptitude warning msg
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Aptitude warning msg

Réponse
 
LinkBack Outils de la discussion
Vieux 14/06/2007, 20h10   #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
Vieux 14/06/2007, 20h20   #2
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Aptitude warning msg

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
  Réponse avec citation
Vieux 14/06/2007, 20h20   #3
Mathias Brodala
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Aptitude warning msg

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-----

  Réponse avec citation
Vieux 14/06/2007, 20h30   #4
Manon Metten
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Aptitude warning msg

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.

  Réponse avec citation
Vieux 14/06/2007, 21h10   #5
Kushal Kumaran
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Aptitude warning msg

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
  Réponse avec citation
Vieux 15/06/2007, 00h00   #6
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Aptitude warning msg

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
  Réponse avec citation
Vieux 15/06/2007, 20h30   #7
Manon Metten
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Aptitude warning msg

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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h35.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,21769 seconds with 15 queries