Yet another could not download repository indexes problem

Asked by Karacho

I am better opening a new topic, even though there are a few ones on this issue but I haven't found exactly my problem.

I tried the German and US servers, neither works.
I am running ubuntu on another machine, aswell and it works perfectly. Any ideas?
Thank you.

Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg
Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/hardy/main/i18n/Translation-en_US.bz2
Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/hardy/restricted/i18n/Translation-en_US.bz2
Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/hardy/universe/i18n/Translation-en_US.bz2
[...]
Some index files failed to download, they have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Steven Rose (steveydoteu) said :
#1

Paste the contents of /etc/apt/sources.list here.

To do so:

Open a terminal (found in Applications > Accessories)
Type or paste the following: gedit /etc/apt/sources.list
Press enter and paste the contents of the file it opened here.

Revision history for this message
Best Bhavani Shankar (bhavi) said :
#2

Hello

sudo geit /etc/apt/sources.list

remove everything and paste the below

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Alpha i386 (20080222)]/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties

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

Save the source list

Run the update manager

gksu "update-manager -c"

Or sudo apt-get update

Or / and:

if it doesnt work then

Click System > Administration > Software Sources
Click the Download From menu and choose other
Click the Select Best Server button and wait till it finds one.
Click Choose Server
Run the update manager again.

Regards

Bhavani Shankar.

Revision history for this message
Karacho (matthias-kuebel) said :
#3

Thanks Bhavani Shankar, that solved my question.

Revision history for this message
Karacho (matthias-kuebel) said :
#4

Awesome. The Select Best Server button was the key. I am using a dutch server now... Cheers, mate!