This is a discussion on apt-get update broken (some downloaded files corrupted) within the Debian Linux support forums, part of the Debian Linux category; --> Hi, I tried to apt-get update on a dodgy connection yesterday, and some files didn't get fully downloaded. Here's ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I tried to apt-get update on a dodgy connection yesterday, and some files didn't get fully downloaded. Here's what's in my /etc/apt/sources.list file: deb http://ftp.uk.debian.org/debian unstable main contrib non-free deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free Code: deb http://ftp.uk.debian.org/debian experimental main contrib non-free deb-src http://ftp.uk.debian.org/debian experimental main contrib non-free After that, here's what apt-get update spits out: # apt-get update Get: 1 http://ftp.uk.debian.org unstable Release.gpg [189B] Get: 2 http://ftp.uk.debian.org experimental Release.gpg [189B] Hit http://ftp.uk.debian.org unstable Release Hit http://ftp.uk.debian.org experimental Release Ign http://ftp.uk.debian.org unstable/main Packages Hit http://ftp.uk.debian.org unstable/contrib Packages Hit http://ftp.uk.debian.org unstable/non-free Packages Hit http://ftp.uk.debian.org unstable/main Sources Hit http://ftp.uk.debian.org unstable/contrib Sources Hit http://ftp.uk.debian.org unstable/non-free Sources Ign http://ftp.uk.debian.org experimental/main Packages Ign http://ftp.uk.debian.org experimental/contrib Packages Ign http://ftp.uk.debian.org experimental/non-free Packages Ign http://ftp.uk.debian.org experimental/main Sources Ign http://ftp.uk.debian.org experimental/contrib Sources Ign http://ftp.uk.debian.org experimental/non-free Sources Get: 3 http://ftp.uk.debian.org unstable/main Packages [3991kB] Hit http://ftp.uk.debian.org experimental/main Packages Hit http://ftp.uk.debian.org experimental/contrib Packages Hit http://ftp.uk.debian.org experimental/non-free Packages Hit http://ftp.uk.debian.org experimental/main Sources Hit http://ftp.uk.debian.org experimental/contrib Sources Hit http://ftp.uk.debian.org experimental/non-free Sources 99% [3 Packages gzip 0] gzip: stdin: not in gzip format Errhttp://ftp.uk.debian.org unstable/main Packages Sub-process gzip returned an error code (1) Fetched 3B in 1s (2B/s) Failed to fetch http://ftp.uk.debian.org/debian/dist...86/Packages.gz Sub-process gzip returned an error code (1) Reading package lists... Done E: Some index files failed to download, they have been ignored, or old ones used instead. What's going on? Thanks -- To reply, take of all ZIGs !! |
| |||
| On Sun, 12 Feb 2006 12:35:10 +0000, Asfand Yar Qazi <ayZIG0106@qaziZIG.f2sZIG.com> wrote in alt.os.linux.debian: > Hi, > > I tried to apt-get update on a dodgy connection yesterday, and some files > didn't get fully downloaded. > > Here's what's in my /etc/apt/sources.list file: > deb http://ftp.uk.debian.org/debian unstable main contrib non-free > deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free > > Code: > deb http://ftp.uk.debian.org/debian experimental main contrib non-free > deb-src http://ftp.uk.debian.org/debian experimental main contrib non-free > > > After that, here's what apt-get update spits out: > > # apt-get update > Get: 1 http://ftp.uk.debian.org unstable Release.gpg [189B] > Get: 2 http://ftp.uk.debian.org experimental Release.gpg [189B] > Hit http://ftp.uk.debian.org unstable Release > Hit http://ftp.uk.debian.org experimental Release > Ign http://ftp.uk.debian.org unstable/main Packages > Hit http://ftp.uk.debian.org unstable/contrib Packages > Hit http://ftp.uk.debian.org unstable/non-free Packages > Hit http://ftp.uk.debian.org unstable/main Sources > Hit http://ftp.uk.debian.org unstable/contrib Sources > Hit http://ftp.uk.debian.org unstable/non-free Sources > Ign http://ftp.uk.debian.org experimental/main Packages > Ign http://ftp.uk.debian.org experimental/contrib Packages > Ign http://ftp.uk.debian.org experimental/non-free Packages > Ign http://ftp.uk.debian.org experimental/main Sources > Ign http://ftp.uk.debian.org experimental/contrib Sources > Ign http://ftp.uk.debian.org experimental/non-free Sources > Get: 3 http://ftp.uk.debian.org unstable/main Packages [3991kB] > Hit http://ftp.uk.debian.org experimental/main Packages > Hit http://ftp.uk.debian.org experimental/contrib Packages > Hit http://ftp.uk.debian.org experimental/non-free Packages > Hit http://ftp.uk.debian.org experimental/main Sources > Hit http://ftp.uk.debian.org experimental/contrib Sources > Hit http://ftp.uk.debian.org experimental/non-free Sources > 99% [3 Packages gzip 0] > gzip: stdin: not in gzip format > Errhttp://ftp.uk.debian.org unstable/main Packages > Sub-process gzip returned an error code (1) > Fetched 3B in 1s (2B/s) > Failed to fetch > http://ftp.uk.debian.org/debian/dist...86/Packages.gz > Sub-process gzip returned an error code (1) > Reading package lists... Done > E: Some index files failed to download, they have been ignored, or old ones > used instead. > > What's going on? # ls /var/lib/apt/lists/partial/ Delete any files you see there and run apt-get update again. This thread may explain what's happening: <http://groups.google.co.uk/group/linux.debian.bugs.dist/browse_frm/thread/8ae88c3fa617c51f> (Don't apply the patch; it's for an older version of apt.) PJR :-) -- Have you been touched ___ ___ Hammer of Thor, Jan 2006 by His noodly / _ \ / _ \ appendage? ( (_) )( (_) ) Pierre Salinger Memorial \_ _/ \_ _/ Hook, Line & Sinker, Dec STOP GLOBAL __ _.-\\----//--._ 2003 & May 2005 WARMING _ / _\___.-'/ _| / _\ /\/\`-._.-.__ _ NOW, (_\_)| \___ ||_ ((_ //\/\\ _.-._ \-' ) AHM Wittiest JIM LAD! \__) __) | _| _) ) || || (_ \_.-' Troll of the /_-. || \_/ || .-'-.\ Year, 2003 http:// _._// / .--._______.-'\ \ \\__._ 2004 & 2005 www. /_._/ \ \ )) \__._) venganza (/ _.-') ( `-._ wsd 42 ~ mhm 34x8 ..org/ (_.-' :F_P: `--._) smeeter 30 ~ mwpl 12 |
| ||||
| Peter J Ross wrote: <snip> > > > # ls /var/lib/apt/lists/partial/ > > Delete any files you see there and run apt-get update again. > > This thread may explain what's happening: > > <http://groups.google.co.uk/group/linux.debian.bugs.dist/browse_frm/thread/8ae88c3fa617c51f> > > (Don't apply the patch; it's for an older version of apt.) > > > PJR :-) thanks -- To reply, take of all ZIGs !! |