[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get/dselect update error



Hi Rolando

it looks like apt complains that you have an duplicate entry

	http://non-us.debian.org potato/non-US/non-free 

and - in fact - you do have it twice, at least for main and non-free.

Hannes


* Rolando Berrios <berri@inch.com> [020524 19:06]:
> I've been running into errors when trying to use apt-get or dselect to update my 
> packages lists.
> 
> For a while there I was getting errors saying that the file was corrupt.  I 
> checked the file and saw a strange "y" by itself on the line that was reported 
> in the error.  Don't know why that was happening, and now I get the following 
> when I try anything:
> 
> (snip) 8< ----------
> Reading Package Lists... Error!
>  W: Duplicate sources.list entry http://non-us.debian.org potato/non-US/main 
> Packages 
> (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_potato_non-US_main_bin
> ary-i386_Packages)
>  W: Duplicate sources.list entry http://non-us.debian.org potato/non-US/non-free 
> Packages 
> (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_potato_non-US_non-free
> _binary-i386_Packages)
>  E: Unable to parse package file 
> /var/lib/apt/lists/http.us.debian.org_debian_dists_testing_main_binary-i386_Pack
> ages (1)
>  E: The package lists or status file could not be parsed or opened.
> 
> (snip) 8< ---------
> 
> Here's my sources.list file:
> 
>  # See sources.list(5) for more information, especialy
>  # Remember that you can only use http, ftp or file URIs
>  # CDROMs are managed through the apt-cdrom tool.
>  #deb http://http.us.debian.org/debian stable main contrib non-free
>  #deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
>  #deb http://security.debian.org stable/updates main contrib non-free
> 
>  # Uncomment if you want the apt-get source function to work
>  #deb-src http://http.us.debian.org/debian stable main contrib non-free
>  #deb-src http://non-us.debian.org/debian-non-US stable non-US
> 
>  #deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-3 
> (20000814)]/ unstable contrib main non-US/contrib non-US/main
>  #deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-2 
> (20000814)]/ unstable contrib main non-US/contrib non-US/main
>  #deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-1 
> (20000814)]/ unstable contrib main non-US/contrib non-US/main
> 
> 
> 
>  deb http://ftp-mirror.internap.com/pub/debian/ potato main non-free contrib
>  deb-src http://ftp-mirror.internap.com/pub/debian/ potato main non-free contrib
>  deb http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free
>  deb-src http://non-us.debian.org/debian-non-US potato/non-US main contrib 
> non-free
> 
>  # qmail
>  deb http://smarden.org/pape/Debian potato unofficial pape
>  deb-src http://smarden.org/pape/Debian potato unofficial pape
> 
>  # updates
>  deb http://http.us.debian.org/debian potato main contrib non-free
>  deb http://non-us.debian.org/debian-non-US potato/non-US main non-free
>  deb http://security.debian.org/ potato/updates main contrib non-free
> 
>  # testing
>  deb http://http.us.debian.org/debian testing main contrib non-free
>  deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
> 
> Anyone have any ideas as to why this might be happening or what I can do about 
> it?
> 
> I'm almost out of hair here...
> 
> -Rolando
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


-- 
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: