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

Re: Synaptic / Could not download all repository indexes

Hash: SHA256

Andrei Popescu @ 07/16/2010 11:57 PM:
> On Vi, 16 iul 10, 16:34:59, scar wrote:
>> Hello,
>> when i try to check for updates with synaptic or the update manager, i
>> get that error above.  further information in the error message:
>> http://ftp.us.debian.org/debian/dists/lenny/updates/main/source/Sources:
>> 404 Not Found [IP: 80]
> ... 
>> $ cat /etc/apt/sources.list
> ... 
>> deb http://security.debian.org/ lenny/updates main
>> deb-src http://ftp.us.debian.org/debian/ lenny/updates main
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This one should be:
> deb-src http://security.debian.org/ lenny/updates main

Thanks.  while i never manually edited the sources.list file, i did use
software-properties-gtk to "select best server" (Main tab, Download From
dropdown menu, Other, select best server button).  it seems like there
is a bug in that algorithm and i was able to reproduce it just now.

after correcting my sources.list with the line you provided and reloaded
my repositories, everything finished fine without any error.  then, i
went back to 'select best server' and, oddly, it picked a server in new
zealand, ftp.nz.debian.org.  i then checked my sources.list and it
looked like this:

$ cat /etc/apt/sources.list
# deb http://ftp.us.debian.org/debian/ lenny main

deb ftp://ftp.nz.debian.org/debian/ lenny main
deb-src ftp://ftp.nz.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src ftp://ftp.nz.debian.org/debian/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

# Backported packages for Debian Lenny
deb http://www.backports.org/debian lenny-backports main contrib non-free

and, after checking for updates, i got the initial error again.


Reply to: