apt-get update problem on first use after Hoary preview install
Seb Wills
saw27 at mrao.cam.ac.uk
Tue Mar 15 16:26:10 UTC 2005
I just did a clean hoary preview from CD (but with live network). The
installer put the following lines in /etc/apt/sources.list (I've not
included the commented-out lines).
deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Preview i386 Binary-1 (20050310)]/ hoary main restricted
deb http://gb.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu hoary main restricted
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
The first time I ran 'apt-get update' after booting into my new
installation, I got:
saw at owl:~$ sudo apt-get update
Ign http://gb.archive.ubuntu.com hoary Release.gpg
Ign http://gb.archive.ubuntu.com hoary Release
Ign http://security.ubuntu.com hoary-security Release.gpg
Ign http://gb.archive.ubuntu.com hoary/main Packages
Ign http://security.ubuntu.com hoary-security Release
Ign http://gb.archive.ubuntu.com hoary/restricted Packages
Ign http://gb.archive.ubuntu.com hoary/main Sources
Ign http://security.ubuntu.com hoary-security/main Packages
Hit http://security.ubuntu.com hoary-security/restricted Packages
Hit http://security.ubuntu.com hoary-security/main Sources
Hit http://security.ubuntu.com hoary-security/restricted Sources
Hit http://security.ubuntu.com hoary-security/main Packages
Ign http://gb.archive.ubuntu.com hoary/restricted Sources
Err http://gb.archive.ubuntu.com hoary/main Packages
Bad header line
Err http://gb.archive.ubuntu.com hoary/restricted Packages
Bad header line
Err http://gb.archive.ubuntu.com hoary/main Sources
Bad header line
Err http://gb.archive.ubuntu.com hoary/restricted Sources
Bad header line
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/hoary/main/binary-i386/Packages.gz
Bad header line
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/hoary/restricted/binary-i386/Packages.gz
Bad header line
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/hoary/main/source/Sources.gz
Bad header line
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/hoary/restricted/source/Sources.gz
Bad header line
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old
ones used instead.
The network was fully up and working.
After getting the errors I checked this:
saw at owl:~$ host gb.archive.ubuntu.com
gb.archive.ubuntu.com has address 82.211.81.138
A few minutes later I tried the same apt-get update and it worked fine: 6
"Get" lines and 6 "Hit" lines; no errors.
Someone who understands apt-get better than me can probably tell me
exactly what the problem was. I'm posting it case it turns out to be
a bug in the state that the installer leaves the new system in, rather
than a temporary glitch somewhere.
seb
More information about the ubuntu-users
mailing list