update problem

Asked by Henry Whitmarsh

Hi, I have got a message on my computer to say that my update information is outdated.

I have tried to use the update manager but when I click on the "check" icon I get an error message saying that it failed to connect.

I am on a university internet connection. Is there any other way of downloading the updates?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#1

Hi, Henry.

Open a terminal (Applications -> Accesorries -> Terminal)

and issue this command:

sudo apt-get update

It will ask for your password. Type it (it won't show any asterisks).

Paste the output here.

Revision history for this message
Henry Whitmarsh (henrywhitmarsh) said :
#2

Err http://ppa.launchpad.net hardy Release.gpg
  Could not connect to ppa.launchpad.net:80 (91.189.90.217), connection timed out
Err http://ppa.launchpad.net hardy/main Translation-en_US
  Unable to connect to ppa.launchpad.net http:
Err http://security.ubuntu.com hardy-security Release.gpg
  Could not connect to security.ubuntu.com:80 (91.189.88.37), connection timed out
Err http://security.ubuntu.com hardy-security/restricted Translation-en_US
  Unable to connect to security.ubuntu.com http:
Err http://security.ubuntu.com hardy-security/main Translation-en_US
  Unable to connect to security.ubuntu.com http:
Err http://security.ubuntu.com hardy-security/multiverse Translation-en_US
  Unable to connect to security.ubuntu.com http:
Err http://security.ubuntu.com hardy-security/universe Translation-en_US
  Unable to connect to security.ubuntu.com http:
Err http://archive.ubuntu.com hardy Release.gpg
  Could not connect to archive.ubuntu.com:80 (91.189.88.31), connection timed out [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy/main Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy/restricted Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy/universe Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy/multiverse Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy-updates Release.gpg
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy-updates/main Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy-updates/universe Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
  Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.88.31), connection timed out [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/main/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/restricted/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/universe/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/multiverse/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release.gpg Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/restricted/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/universe/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/i18n/Translation-en_US.bz2 Unable to connect to archive.ubuntu.com http: [IP: 91.189.88.31 80]

W: Failed to fetch http://ppa.launchpad.net/dell-team/ubuntu/dists/hardy/Release.gpg Could not connect to ppa.launchpad.net:80 (91.189.90.217), connection timed out

W: Failed to fetch http://ppa.launchpad.net/dell-team/ubuntu/dists/hardy/main/i18n/Translation-en_US.bz2 Unable to connect to ppa.launchpad.net http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg Could not connect to security.ubuntu.com:80 (91.189.88.37), connection timed out

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/i18n/Translation-en_US.bz2 Unable to connect to security.ubuntu.com http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/main/i18n/Translation-en_US.bz2 Unable to connect to security.ubuntu.com http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/i18n/Translation-en_US.bz2 Unable to connect to security.ubuntu.com http:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/i18n/Translation-en_US.bz2 Unable to connect to security.ubuntu.com http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
henry@dell-desktop:~$

Revision history for this message
Sorocean Anton (distortedbsd) said :
#3

Probably there are some problems with your internet connection. There may be traffic shaping or something else. If you do not have a connection to internet, you can download manually all the needed packages and place them to /var/cache/apt/archives, then, in the update manager, click to install updates. It's easier if you have access to another computer with same version of ubuntu. Then you make an update there, then burn a cd with all the packages from /var/cache/apt/archives then copy all of them to your computer in the same location and, in the update manager, click to install updates.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

May be you have a proxy on your network.

Please tell, are you able to visit: http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/i18n/Translation-en_US.bz2 using your Firefox browser,?... or better if you are on a dualboot pc Ubuntu + Windows
Please try with Ubuntu and with Windows.
If you are able to visit only with Windows you are under a proxy.
You must install and configure cntlm or ntlm proxy package on your Ubuntu pc to get full external access.

Hope this helps

Thank you

Revision history for this message
Henry Whitmarsh (henrywhitmarsh) said :
#5

I am on a Ubuntu only PC.

I wasn't able to visit the link you posted.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

But please tell also if...
Can you browse internet, different links, without any issue...?

Thank you

Revision history for this message
Henry Whitmarsh (henrywhitmarsh) said :
#7

Yes, it's all working fine.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

Try to use different server choose it from... menu system->Admin.->software sources and retry.

Hope this helps

Revision history for this message
Henry Whitmarsh (henrywhitmarsh) said :
#9

No suitable server found.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Now i get same error as you.

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

gksudo gedit /etc/apt/sources.list

Please give your user password when requested.

Delete all contents of the file and copy and paste ALL the rows below:

## a “general” sources.list for Hardy Heron; all sources are uncommented.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## 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://archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe

deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe

## 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
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## 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://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.

deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted

Save and exit from /etc/apt/sources.list

Then please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
sudo apt-get autoremove

Please give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
asu (asu9421) said :
#11

didn,t helo either............

Revision history for this message
mfauzirahman (mfauzirahman) said :
#12

Any update on this issue?
How can we solved it?

Can you help with this problem?

Provide an answer of your own, or ask Henry Whitmarsh for more information if necessary.

To post a message you must log in.