LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 09-30-2006, 07:01 AM   #1
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Rep: Reputation: 16
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
dpkg -i apt_0.6.43.3ubuntu2_i386.deb
which i got from another post in this forum

what now?

Thanks

Last edited by imagineaxion; 09-30-2006 at 07:02 AM.
 
Old 09-30-2006, 01:16 PM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Can you please post your sources.list?
 
Old 10-01-2006, 10:50 AM   #3
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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

Last edited by imagineaxion; 10-01-2006 at 10:52 AM.
 
Old 10-01-2006, 03:28 PM   #4
imagineaxion
Member
 
Registered: Sep 2004
Location: Epsom, Surrey
Distribution: Ubuntu & Mac OS X
Posts: 141

Original Poster
Rep: Reputation: 16
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.
 
Old 10-01-2006, 04:44 PM   #5
ctkroeker
Senior Member
 
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Probably a problem with the British mirrors. Eventually passes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 02:57 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
apt-get update not updating repos. recently? truthe Debian 6 04-09-2005 06:42 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 02:27 AM
apt sources update not working GreenerLinux Libranet 3 12-04-2003 04:09 PM


All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration