apt-get update not updating from all sources
when i run apt-get update i get the following:
Get: 1 http://security.ubuntu.com dapper-security Release.gpg [189B] Hit http://security.ubuntu.com dapper-security Release Get: 2 http://gb.archive.ubuntu.com dapper Release.gpg [189B] Get: 3 http://gb.archive.ubuntu.com dapper-updates Release.gpg [189B] Hit http://security.ubuntu.com dapper-security/main Packages Get: 4 http://gb.archive.ubuntu.com dapper Release [34.8kB] Hit http://security.ubuntu.com dapper-security/restricted Packages Hit http://security.ubuntu.com dapper-security/main Sources Hit http://security.ubuntu.com dapper-security/restricted Sources Hit http://security.ubuntu.com dapper-security/universe Packages Hit http://security.ubuntu.com dapper-security/universe Sources Get: 5 http://gb.archive.ubuntu.com dapper-updates Release [30.9kB] Ign http://gb.archive.ubuntu.com dapper/main Packages Ign http://gb.archive.ubuntu.com dapper/restricted Packages Ign http://gb.archive.ubuntu.com dapper/main Sources Ign http://gb.archive.ubuntu.com dapper/restricted Sources Ign http://gb.archive.ubuntu.com dapper-updates/main Packages Ign http://gb.archive.ubuntu.com dapper-updates/restricted Packages Ign http://gb.archive.ubuntu.com dapper-updates/main Sources Ign http://gb.archive.ubuntu.com dapper-updates/restricted Sources Errhttp://gb.archive.ubuntu.com dapper/main Packages Bad header line [IP: 195.248.90.23 80] Errhttp://gb.archive.ubuntu.com dapper/restricted Packages Bad header line [IP: 195.248.90.23 80] 99% [Waiting for headers] and then just sits on 99% I have created a new list of sources from the ubuntu's source-o-matic very useful I might add. I know my sources arent the problem and i have also downloaded and reinstalled apt Code:
get http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.6.43.3ubuntu2_i386.deb what now? Thanks |
Can you please post your sources.list?
|
This is my original file:
deb http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. # deb http://gb.archive.ubuntu.com/ubuntu/ dapper universe # deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper universe ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse # deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu dapper-security main restricted deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted deb http://security.ubuntu.com/ubuntu dapper-security universe deb-src http://security.ubuntu.com/ubuntu dapper-security universe I then backed up the above file and made this new one with the same problems/errors: # Automatically generated sources.list # http://www.ubuntulinux.nl/source-o-matic # # If you get errors about missing keys, lookup the key in this file # and run these commands (replace KEY with the key number) # # gpg --keyserver subkeys.pgp.net --recv KEY # gpg --export --armor KEY | sudo apt-key add - # Ubuntu supported packages (packages, GPG key: 437D05B5) deb http://gb.archive.ubuntu.com/ubuntu dapper main restricted deb http://gb.archive.ubuntu.com/ubuntu dapper-updates main restricted deb http://security.ubuntu.com/ubuntu dapper-security main restricted # Ubuntu supported packages (sources, GPG key: 437D05B5) deb-src http://gb.archive.ubuntu.com/ubuntu dapper main restricted deb-src http://gb.archive.ubuntu.com/ubuntu dapper-updates main restricted deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted # Ubuntu community supported packages (packages, GPG key: 437D05B5) deb http://gb.archive.ubuntu.com/ubuntu dapper universe multiverse deb http://gb.archive.ubuntu.com/ubuntu dapper-updates universe multiverse deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse # Ubuntu community supported packages (sources, GPG key: 437D05B5) deb-src http://gb.archive.ubuntu.com/ubuntu dapper universe multiverse deb-src http://gb.archive.ubuntu.com/ubuntu dapper-updates universe multiverse deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse |
I have just tried to update after leaving for a day and now its working...
Will post back if it fails again. Hopefully wont need to. :) |
Probably a problem with the British mirrors. Eventually passes.
|
All times are GMT -5. The time now is 11:52 PM. |