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

occasional error on ftp.cz.debian.org



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
  Err http://ftp.cz.debian.org sid/main libntfs-3g0 1:0.0.0+20061031-2
    404 Not Found
  Err http://ftp.cz.debian.org sid/main ntfs-3g 1:0.0.0+20061031-2
    404 Not Found
  Err http://ftp.cz.debian.org sid/main libxklavier10 2.2-4
    404 Not Found
  Err http://ftp.cz.debian.org sid/main mail-notification 3.0.dfsg.1-8
    404 Not Found
  Err http://ftp.cz.debian.org sid/main mail-notification-evolution 3.0.dfsg.1-8
    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
http://ftp.cz.debian.org/debian/pool/main/u/util-linux/util-linux_2.12r-15_i386.deb
 404 Not Found
  Failed to fetch
http://ftp.cz.debian.org/debian/pool/main/n/ntfs-3g/libntfs-3g0_0.0.0+20061031-2_i386.deb
 404 Not Found
  Failed to fetch
http://ftp.cz.debian.org/debian/pool/main/n/ntfs-3g/ntfs-3g_0.0.0+20061031-2_i386.deb
 404 Not Found
  Failed to fetch
http://ftp.cz.debian.org/debian/pool/main/libx/libxklavier/libxklavier10_2.2-4_i386.deb
 404 Not Found
  Failed to fetch
http://ftp.cz.debian.org/debian/pool/main/m/mail-notification/mail-notification_3.0.dfsg.1-8_i386.deb
 404 Not Found
  Failed to fetch
http://ftp.cz.debian.org/debian/pool/main/m/mail-notification/mail-notification-evolution_3.0.dfsg.1-8_i386.deb
 404 Not Found
  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.

Chris.




Reply to: