Could not download all repository indexes

Asked by Enya

Hi there,

I installed Ubuntu for the first time in my life a few weeks ago. Worked like a charm. Wanted to upgrade to Koala today and getting the error message:

Error:

Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-backports/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

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

Source List:

deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

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

## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team. Also, please note that software in universe WILL NOT receive any

## review or updates from the Ubuntu security team.

## 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.

## 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://rs.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

# deb-src http://rs.archive.ubuntu.com/ubuntu/ jaunty-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.ubuntu.com/ubuntu/ jaunty-proposed main«. main universe restricted multiverse

deb http://archive.ubuntu.com/ubuntu/ jaunty main«. main universe restricted multiverse

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted

deb http://archive.ubuntu.com/ubuntu/ jaunty-backports main«. main universe restricted multiverse

deb http://security.ubuntu.com/ubuntu/ jaunty-security main«. main universe restricted multiverse

deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main«. main universe restricted multiverse

# deb http://archive.canonical.com/ubuntu jaunty partner

Where is the problem? I haven't changed anything since the installation.

Thanks for your help in advance.

Enya

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Please provide the output of:

sudo apt-get update; sudo apt-get upgrade

Thanks

Revision history for this message
Enya (enya-findmemail) said :
#2

sudo apt-get update:
Get:1 http://archive.ubuntu.com jaunty-proposed Release.gpg [189B]

Ign http://archive.ubuntu.com jaunty-proposed/main«. Translation-en_US

Hit http://security.ubuntu.com jaunty-security Release.gpg

Ign http://security.ubuntu.com jaunty-security/main«. Translation-en_US

Ign http://archive.ubuntu.com jaunty-proposed/main Translation-en_US

Ign http://archive.ubuntu.com jaunty-proposed/universe Translation-en_US

Ign http://archive.ubuntu.com jaunty-proposed/restricted Translation-en_US

Ign http://archive.ubuntu.com jaunty-proposed/multiverse Translation-en_US

Hit http://archive.ubuntu.com jaunty Release.gpg

Ign http://archive.ubuntu.com jaunty/main«. Translation-en_US

Ign http://archive.ubuntu.com jaunty/main Translation-en_US

Ign http://archive.ubuntu.com jaunty/universe Translation-en_US

Ign http://archive.ubuntu.com jaunty/restricted Translation-en_US

Ign http://security.ubuntu.com jaunty-security/main Translation-en_US

Ign http://security.ubuntu.com jaunty-security/universe Translation-en_US

Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_US

Ign http://security.ubuntu.com jaunty-security/multiverse Translation-en_US

Hit http://security.ubuntu.com jaunty-security Release

Ign http://archive.ubuntu.com jaunty/multiverse Translation-en_US

Get:2 http://archive.ubuntu.com jaunty-backports Release.gpg [189B]

Ign http://archive.ubuntu.com jaunty-backports/main«. Translation-en_US

Ign http://archive.ubuntu.com jaunty-backports/main Translation-en_US

Ign http://archive.ubuntu.com jaunty-backports/universe Translation-en_US

Ign http://archive.ubuntu.com jaunty-backports/restricted Translation-en_US

Ign http://archive.ubuntu.com jaunty-backports/multiverse Translation-en_US

Get:3 http://archive.ubuntu.com jaunty-updates Release.gpg [189B]

Ign http://archive.ubuntu.com jaunty-updates/main«. Translation-en_US

Ign http://archive.ubuntu.com jaunty-updates/main Translation-en_US

Ign http://archive.ubuntu.com jaunty-updates/universe Translation-en_US

Ign http://archive.ubuntu.com jaunty-updates/restricted Translation-en_US

Ign http://archive.ubuntu.com jaunty-updates/multiverse Translation-en_US

Get:4 http://archive.ubuntu.com jaunty-proposed Release [49.6kB]

Hit http://archive.ubuntu.com jaunty Release

Get:5 http://archive.ubuntu.com jaunty-backports Release [49.6kB]

Get:6 http://archive.ubuntu.com jaunty-updates Release [57.9kB]

Fetched 158kB in 0s (250kB/s)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-backports/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release Unable to find expected entry main«./binary-i386/Packages in Meta-index file (malformed Release file?)

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

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Ok can you provide the output of:

gedit /etc/apt/sources.list

Thanks

Revision history for this message
Enya (enya-findmemail) said :
#4

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## 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.

## 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://rs.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://rs.archive.ubuntu.com/ubuntu/ jaunty-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.ubuntu.com/ubuntu/ jaunty-proposed main«. main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty main«. main universe restricted multiverse
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports main«. main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ jaunty-security main«. main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main«. main universe restricted multiverse
# deb http://archive.canonical.com/ubuntu jaunty partner

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

are these characters in your file:
«

or are they glitches in my browser?

Revision history for this message
Enya (enya-findmemail) said :
#6

No, they are not glitches in your browser, they do exist in my file. I provided the exact copy from the terminal

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

ok well those are bad

all instances of "«." delete them, notice how the commented out lines do not have this character pair, this is normal.

You will need to run:

gksudo gedit /etc/apt/sources.list

to get write access, you can then save the file and run:

sudo apt-get update; sudo apt-get upgrade

Revision history for this message
Enya (enya-findmemail) said :
#8

I have edited the sources list now, saved it and run the both commands you gave me. Checked with the update manager - exactly the same error message like before, the problem still exists.

Revision history for this message
Enya (enya-findmemail) said :
#9

I have now also deleted the dots after «, seems like it's working. Give me a half an hour to run the system again and confirm the change.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#10

cool, weird how you had those characters.

Revision history for this message
Enya (enya-findmemail) said :
#11

Solved. I deleted the characters and the dots and was able to upgrade to Koala afterwords. Just, ever since the upgrade - I am not able to connect to the internet and writting this from my old and slow computer.

Many, many thanks guys!

Best regards from Germany

Enya