Re: occasional error on ftp.cz.debian.org
Hi,
On Sun Nov 05, 2006 at 01:31:19 +0000, Chris Moore wrote:
> I quite regularly run
> apt-get update
> and
> apt-get upgrade
>
> About once a week I see "404" errors from the upgrade step. Here's an
> example that happened about 10 minutes ago:
>
> The following packages will be upgraded:
> bsdutils libntfs-3g0 libxklavier10 mail-notification
> mail-notification-evolution mount ntfs-3g util-linux
> 8 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> Need to get 1145kB of archives.
> After unpacking 336kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Err http://ftp.cz.debian.org sid/main bsdutils 1:2.12r-15
> 404 Not Found
> Err http://ftp.cz.debian.org sid/main mount 2.12r-15
> 404 Not Found
> Err http://ftp.cz.debian.org sid/main util-linux 2.12r-15
> 404 Not Found
> 404 Not Found
> Failed to fetch
> http://ftp.cz.debian.org/debian/pool/main/u/util-linux/bsdutils_2.12r-15_i386.deb
> 404 Not Found
> Failed to fetch
> http://ftp.cz.debian.org/debian/pool/main/u/util-linux/mount_2.12r-15_i386.deb
> 404 Not Found
> Failed to fetch
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
> My sources.list has this line:
>
> deb http://ftp.cz.debian.org/debian sid main non-free contrib
>
> It looks like the mirror is updating its 'Packages' list before it
> updates the packages itself. Checking the mirror 'manually' with a web
> browser shows that the packages which do exist are the
> previous versions, not the new versions. Running the 'apt-get upgrade'
> again 5 minutes later usually goes through fine.
>
> Here's the corresponding output from running exactly the same command 5 minutes
> later:
>
> Get: 1 http://ftp.cz.debian.org sid/main bsdutils 1:2.12r-15 [67.9kB]
> Get: 2 http://ftp.cz.debian.org sid/main mount 2.12r-15 [156kB]
> Get: 3 http://ftp.cz.debian.org sid/main util-linux 2.12r-15 [373kB]
> Get: 4 http://ftp.cz.debian.org sid/main libntfs-3g0 1:0.0.0+20061031-2 [88.9kB]
> Get: 5 http://ftp.cz.debian.org sid/main ntfs-3g 1:0.0.0+20061031-2 [25.3kB]
> Get: 6 http://ftp.cz.debian.org sid/main libxklavier10 2.2-4 [70.3kB]
> Get: 7 http://ftp.cz.debian.org sid/main mail-notification 3.0.dfsg.1-8 [338kB]
> Get: 8 http://ftp.cz.debian.org sid/main mail-notification-evolution
> 3.0.dfsg.1-8 [25.3kB]
> Fetched 1145kB in 4s (266kB/s)
>
> Is it right that mirrors should update their list of packages before
> they update the packages themselves? That's obviously going to lead to
> this kind of error happening if people upgrade at just the wrong time.
They should first pull the debs, then update the Packages* files, then
delete. --delete-after --delay-updates to rsync should do the trick.
I'm CC'ing the admins.
Adam
--
Adam adam@os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
Reply to: