Can no longer get updates using update manager - fails to connect

Asked by Martin

Up until about two weeks ago I was able to use Update Manger to get updates for 10.04. I can no longer get updates. It says it fails to download the repositories and gives me some error message. I can ping the IP address for the servers that have the updates and can get to the URL for each.

I upgraded Ubuntu to 11.10 with no luck. Same results as 10.04. I then did a fresh install of 10.04 - still no luck.

Are the Ubuntu servers down or what?

Very frustrating.

Please tell me how to fix this.

Regards,
Martin

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Martin
Solved:
Last query:
Last reply:
Revision history for this message
Martin (bigmags) said :
#1

BTW - This happens with more than one PC running 10.04 Ubuntu.

Revision history for this message
Martin (bigmags) said :
#2

BTW - This happens with more than one PC running 10.04 Ubuntu.

Revision history for this message
mycae (mycae) said :
#3

Can you post the error messages?

It could be
1) you are using an out-of-date mirror, in which case you need to switch mirrors
2) your local package listing is out-of-date, and some files cannot be downloaded, as they have been removed. You may need to issue

sudo apt-get update

to resolve this, if this is the case.

3) some unclear network problem, eg proxy

Revision history for this message
Martin (bigmags) said :
#4

I tried your suggestion doing the sudo apt-get update and below are the errors I got. This is the same thing that occurs when using the update manager.
Also, the update manager worked until about three weeks ago and as I mentioned I upgrade to Ubuntu 11.10 and had the same results with the update manager.

I can get to the internet and can get to the URLs for the update site that you see in the error messages, so it is not the config for the network.

It is as if the update servers are not responding to the update manager. Weird!!!

Err http://us.archive.ubuntu.com lucid Release.gpg
  Connection failed [IP: 91.189.92.169 80]
Err http://security.ubuntu.com lucid-security Release.gpg
  Connection failed
Err http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
  Connection failed [IP: 91.189.88.31 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
  Connection failed
Err http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
  Connection failed [IP: 91.189.88.45 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
  Connection failed
Err http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
  Connection failed [IP: 91.189.92.169 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
  Connection failed
Err http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
  Connection failed [IP: 91.189.88.31 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
  Connection failed
Err http://us.archive.ubuntu.com lucid-updates Release.gpg
  Connection failed [IP: 91.189.88.45 80]
Ign http://security.ubuntu.com lucid-security Release
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
  Connection failed [IP: 91.189.92.169 80]
Ign http://security.ubuntu.com lucid-security/main Packages
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
  Connection failed [IP: 91.189.88.31 80]
Ign http://security.ubuntu.com lucid-security/restricted Packages
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
  Connection failed [IP: 91.189.88.45 80]
Ign http://security.ubuntu.com lucid-security/main Sources
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
  Connection failed [IP: 91.189.92.169 80]
Ign http://security.ubuntu.com lucid-security/restricted Sources
Ign http://us.archive.ubuntu.com lucid Release
Ign http://security.ubuntu.com lucid-security/universe Packages
Ign http://us.archive.ubuntu.com lucid-updates Release
Ign http://security.ubuntu.com lucid-security/universe Sources
Ign http://us.archive.ubuntu.com lucid/main Packages
Ign http://security.ubuntu.com lucid-security/multiverse Packages
Ign http://us.archive.ubuntu.com lucid/restricted Packages
Ign http://security.ubuntu.com lucid-security/multiverse Sources
Ign http://us.archive.ubuntu.com lucid/main Sources
Ign http://security.ubuntu.com lucid-security/main Packages
Ign http://us.archive.ubuntu.com lucid/restricted Sources
Ign http://security.ubuntu.com lucid-security/restricted Packages
Ign http://us.archive.ubuntu.com lucid/universe Packages
Ign http://security.ubuntu.com lucid-security/main Sources
Ign http://us.archive.ubuntu.com lucid/universe Sources
Ign http://security.ubuntu.com lucid-security/restricted Sources
Ign http://us.archive.ubuntu.com lucid/multiverse Packages
Ign http://security.ubuntu.com lucid-security/universe Packages
Ign http://us.archive.ubuntu.com lucid/multiverse Sources
Ign http://security.ubuntu.com lucid-security/universe Sources
Ign http://us.archive.ubuntu.com lucid-updates/main Packages
Ign http://security.ubuntu.com lucid-security/multiverse Packages
Ign http://us.archive.ubuntu.com lucid-updates/restricted Packages
Ign http://security.ubuntu.com lucid-security/multiverse Sources
Ign http://us.archive.ubuntu.com lucid-updates/main Sources
Err http://security.ubuntu.com lucid-security/main Packages
  Connection failed
Ign http://us.archive.ubuntu.com lucid-updates/restricted Sources
Err http://security.ubuntu.com lucid-security/restricted Packages
  Connection failed
Ign http://us.archive.ubuntu.com lucid-updates/universe Packages
Err http://security.ubuntu.com lucid-security/main Sources
  Connection failed
Ign http://us.archive.ubuntu.com lucid-updates/universe Sources
Err http://security.ubuntu.com lucid-security/restricted Sources
  Connection failed
Ign http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Err http://security.ubuntu.com lucid-security/universe Packages
  Connection failed
Ign http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Err http://security.ubuntu.com lucid-security/universe Sources
  Connection failed
Ign http://us.archive.ubuntu.com lucid/main Packages
Err http://security.ubuntu.com lucid-security/multiverse Packages
  Connection failed
Ign http://us.archive.ubuntu.com lucid/restricted Packages
Err http://security.ubuntu.com lucid-security/multiverse Sources
  Connection failed
Ign http://us.archive.ubuntu.com lucid/main Sources
Ign http://us.archive.ubuntu.com lucid/restricted Sources
Ign http://us.archive.ubuntu.com lucid/universe Packages
Ign http://us.archive.ubuntu.com lucid/universe Sources
Ign http://us.archive.ubuntu.com lucid/multiverse Packages
Ign http://us.archive.ubuntu.com lucid/multiverse Sources
Ign http://us.archive.ubuntu.com lucid-updates/main Packages
Ign http://us.archive.ubuntu.com lucid-updates/restricted Packages
Ign http://us.archive.ubuntu.com lucid-updates/main Sources
Ign http://us.archive.ubuntu.com lucid-updates/restricted Sources
Ign http://us.archive.ubuntu.com lucid-updates/universe Packages
Ign http://us.archive.ubuntu.com lucid-updates/universe Sources
Ign http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Ign http://us.archive.ubuntu.com lucid-updates/multiverse Sources
Err http://us.archive.ubuntu.com lucid/main Packages
  Connection failed [IP: 91.189.88.45 80]
Err http://us.archive.ubuntu.com lucid/restricted Packages
  Connection failed [IP: 91.189.92.169 80]
Err http://us.archive.ubuntu.com lucid/main Sources
  Connection failed [IP: 91.189.88.31 80]
Err http://us.archive.ubuntu.com lucid/restricted Sources
  Connection failed [IP: 91.189.88.45 80]
Err http://us.archive.ubuntu.com lucid/universe Packages
  Connection failed [IP: 91.189.92.169 80]
Err http://us.archive.ubuntu.com lucid/universe Sources
  Connection failed [IP: 91.189.88.31 80]
Err http://us.archive.ubuntu.com lucid/multiverse Packages
  Connection failed [IP: 91.189.88.45 80]
Err http://us.archive.ubuntu.com lucid/multiverse Sources
  Connection failed [IP: 91.189.92.169 80]
Err http://us.archive.ubuntu.com lucid-updates/main Packages
  Connection failed [IP: 91.189.88.31 80]
Err http://us.archive.ubuntu.com lucid-updates/restricted Packages
  Connection failed [IP: 91.189.88.45 80]
Err http://us.archive.ubuntu.com lucid-updates/main Sources
  Connection failed [IP: 91.189.92.169 80]
Err http://us.archive.ubuntu.com lucid-updates/restricted Sources
  Connection failed [IP: 91.189.88.31 80]
Err http://us.archive.ubuntu.com lucid-updates/universe Packages
  Connection failed [IP: 91.189.88.45 80]
Err http://us.archive.ubuntu.com lucid-updates/universe Sources
  Connection failed [IP: 91.189.92.169 80]
Err http://us.archive.ubuntu.com lucid-updates/multiverse Packages
  Connection failed [IP: 91.189.88.31 80]
Err http://us.archive.ubuntu.com lucid-updates/multiverse Sources
  Connection failed [IP: 91.189.88.45 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/main/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/restricted/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/universe/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/i18n/Translation-en_US.bz2 Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/i18n/Translation-en_US.bz2 Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/i18n/Translation-en_US.bz2 Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/i18n/Translation-en_US.bz2 Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/i18n/Translation-en_US.bz2 Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-i386/Packages.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/binary-i386/Packages.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/source/Sources.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/restricted/source/Sources.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/binary-i386/Packages.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/universe/source/Sources.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/binary-i386/Packages.gz Connection failed

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/multiverse/source/Sources.gz Connection failed

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/restricted/binary-i386/Packages.gz Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/main/source/Sources.gz Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/restricted/source/Sources.gz Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/universe/binary-i386/Packages.gz Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/universe/source/Sources.gz Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/binary-i386/Packages.gz Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/multiverse/source/Sources.gz Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/binary-i386/Packages.gz Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/binary-i386/Packages.gz Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/source/Sources.gz Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/source/Sources.gz Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/binary-i386/Packages.gz Connection failed [IP: 91.189.88.45 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/source/Sources.gz Connection failed [IP: 91.189.92.169 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/binary-i386/Packages.gz Connection failed [IP: 91.189.88.31 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/source/Sources.gz Connection failed [IP: 91.189.88.45 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

Revision history for this message
mycae (mycae) said :
#5

Is it possible that you are using a proxy server, eg one that is autoconfigured by a .pac (js) file?

Revision history for this message
Martin (bigmags) said :
#6

I checked and proxy server is turned off.
Nothing had changed on my system when updates started to fail. As I mentioned I even reinstalled 10.04 and reconfigured the system and it still fails.

This is also happening on another Ubuntu system. Other Linux versions can get updates on the same subnet as the two Ubuntu systems that fail.

I even tried a public DNS server 4.2.2.2 No Luck!

Is it the Ubuntu update servers?

Revision history for this message
mycae (mycae) said :
#7

I am able to access those urls without any problem, so it is unlikely to be a server-side problem.

What happens if you run

wget -d http://us.archive.ubuntu.com/ubuntu/dists/lucid/restricted/source/Sources.gz

?

Revision history for this message
mycae (mycae) said :
#8

Also try

wget -d www.google.com

Revision history for this message
Martin (bigmags) said :
#9

Please explain the process I should use with your two suggestions sent 3 hours ago.
Do I run these commands from a terminal or just click on the URL link and download the source file? I did download the file. Does that file need to be placed in a folder on the file system?

I am not an expert with Linux.

Thanks

Revision history for this message
mycae (mycae) said :
#10

Yes, just run them in a terminal, as you did for the update commands -- sorry for not being clear

Revision history for this message
Martin (bigmags) said :
#11

I tried your suggestion to run both the commands at the terminal line and it made no difference. Updates still fail. I even rebooted the system after running the commands with no luck.

I work in a Tech Support department and we maintain our own test network, so, I am certain nothing has changed in our network. I asked IT if they may have done something, but, they don't touch our network at all.

I am and so our my associates, bewildered by the failure of update manager. As I mentioned other Linux OS can perform updates. It is only the systems running Ubuntu that have this issue. Again, updates worked up till about 3 weeks ago.

Even a system running 11.10 Ubuntu fails updates.

Am I doomed?

Thanks

Revision history for this message
Martin (bigmags) said :
#12

OK!!!

It turns out that the IT department has an intrusion detection system in place and it was inadvertently set to block HTTP outgoing packets from our TS network coming from the Ubuntu Update Manager.

Once this was made an exception, update manager works.

Thanks for all you great support and suggestions that tried to help with this issue.

All is good again!

Thanks