PDA

View Full Version : Could not download all repository indexes


JarG0n
February 23rd, 2007, 11:46 AM
Help!

I'm getting this message when trying to reload the packages in Synaptic. Can anyone tell me how to resolve this?

Could not download all repository indexes

The repository might be no longer 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 the correct writing of the repository address in the preferences.

http://security.ubuntu.com/ubuntu/dists/edgy-security/universe/binary-i386/Packages.bz2: Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_edgy-security_universe_binary-i386_Packages - open (2 No such file or directory)
http://security.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.bz2: Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_edgy-security_main_binary-i386_Packages - open (2 No such file or directory)


then.. this error is raised after dismissing the above.


An error occured

The following details are provided:

W: Duplicate sources.list entry http://security.ubuntu.com edgy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com edgy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_main_binary-i386_Packages)

jkeyes0
February 23rd, 2007, 04:20 PM
Can you post the contents of your /etc/apt/sources.list file?

JarG0n
February 24th, 2007, 04:15 PM
Can you post the contents of your /etc/apt/sources.list file?

Well, I don't see an exact duplicate. What should I remove, and how did this get here in the first place? :(

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main multiverse 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://archive.ubuntu.com/ubuntu/ edgy universe main multiverse restricted
# deb-src http://us.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-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu edgy-security main multiverse restricted
deb http://security.ubuntu.com/ubuntu edgy-security universe
deb http://security.ubuntu.com/ubuntu/ edgy-security universe main
deb http://archive.ubuntu.com/ubuntu/ edgy-updates universe main
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe

JarG0n
February 24th, 2007, 05:32 PM
I tried the update again today, and now I'm not getting an error!! ](*,)

Ptero-4
February 24th, 2007, 06:26 PM
the third ¨edgy-security¨ entry have ¨main¨ after universe. That`s what is probably giving the problems there.

jkeyes0
February 24th, 2007, 11:10 PM
I was thinking the same thing about two mains, but if it's working, don't worry about it. :)

sarvan.rb
February 7th, 2009, 02:29 PM
Hi.. even i got the same problem while trying to install vlc. can anyone help me?

E: Malformed line 38 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

jkeyes0
February 20th, 2009, 09:43 PM
Hi.. even i got the same problem while trying to install vlc. can anyone help me?

E: Malformed line 38 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

Hi, sorry for the delay, but can go to the terminal (Applications -> Accessories -> Terminal) and post the output of the command
head -38 /etc/apt/sources.list | tail -1

What this code does is it tells the system to output the first 38 lines of the file, but only show you the last 1 line (the 38th line, the one with the problem)

aKidNamedStoney
March 29th, 2009, 12:06 PM
Just installed an older version of ubuntu in an emergency, 7.04 feisty fawn I think. I get this message trying to install or update anything.

http://img.photobucket.com/albums/v600/IanBryant/Screenshot.png

http://security.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-i386/Packages.gz: 404 Not Found
http://archive.ubuntu.com/ubuntu/dists/feisty/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-updates/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-updates/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]

miguel_mips
May 1st, 2009, 09:27 AM
I have exactly the same thing with gutsy 7.10

redoscar3
May 5th, 2009, 09:23 PM
I suspect that the Gutsy repositories have been removed and are no longer available. The last updates I saw for Gutsy were posted maybe a week to 10 days before Jaunty was released. I have two Gutsy machines and tried to get everything I wanted installed and updated before the repositories disappeared.

SolarisSDK
May 6th, 2009, 01:01 PM
And what should we do? Same problem. Gutsy.
Installing/Updating manually is like hell.
Wipe OS and install 9.04 ? NO WAI!!!

anonymousnobody
June 11th, 2009, 02:04 AM
I have the same problem. I can't seem to update my repositories. I am running Ubuntu 7.10 Gutsy Gibbon.

I have looked at other threads and then mention a problem with proxy servers, but I don't have a /etc/apt/apt.conf file. I do have a /etc/apt/apt.conf.d directory though.

From the error message below, I think the servers no longer exist?

Any help would be appreciated. Thanks.

Error message when I try to update or change repository servers via GUI:

http://ubuntu.media.mit.edu/ubuntu/dists/gutsy-updates/universe/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy-updates/main/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy-updates/multiverse/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy-updates/restricted/binary-i386/Packages.gz: 404 Not Found
http://security.ubuntu.com/ubuntu/dists/gutsy-security/universe/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy/main/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy/universe/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy/restricted/binary-i386/Packages.gz: 404 Not Found
http://ubuntu.media.mit.edu/ubuntu/dists/gutsy/multiverse/binary-i386/Packages.gz: 404 Not Found
http://security.ubuntu.com/ubuntu/dists/gutsy-security/main/binary-i386/Packages.gz: 404 Not Found
http://security.ubuntu.com/ubuntu/dists/gutsy-security/multiverse/binary-i386/Packages.gz: 404 Not Found
http://security.ubuntu.com/ubuntu/dists/gutsy-security/restricted/binary-i386/Packages.gz: 404 Not Found



/etc/apt/sources.list file:
deb http://security.ubuntu.com/ubuntu/ gutsy-security universe main multiverse restricted
deb http://ubuntu.media.mit.edu/ubuntu/ gutsy-updates universe main multiverse restricted
deb http://ubuntu.media.mit.edu/ubuntu/ gutsy main universe restricted multiverse


Error message via command line apt-get update:
$ sudo apt-get update
[sudo] password for lawrence:
Ign http://ubuntu.media.mit.edu gutsy Release.gpg
Ign http://ubuntu.media.mit.edu gutsy/main Translation-en_US
Ign http://ubuntu.media.mit.edu gutsy/universe Translation-en_US
Ign http://ubuntu.media.mit.edu gutsy Release
Ign http://ubuntu.media.mit.edu gutsy/main Packages
Ign http://ubuntu.media.mit.edu gutsy/universe Packages
Err http://ubuntu.media.mit.edu gutsy/main Packages
404 Not Found
Err http://ubuntu.media.mit.edu gutsy/universe Packages
404 Not Found
Failed to fetch http://ubuntu.media.mit.edu/ubuntu/dists/gutsy/main/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://ubuntu.media.mit.edu/ubuntu/dists/gutsy/universe/binary-i386/Packages.gz 404 Not Found
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Claus7
July 23rd, 2009, 08:56 AM
Hello,

I had exactly the same problem with ubuntu gutsy 7.10. I wanted to install a new package from synaptic, and always I was not able to do so.

I had install gutsy since it was out and I had never tried to do (almost) any update.

In the control panel (the menu bar) I always had an orange mark witch prompted me to update my system. I went there, and I tried to update my system. Yet, the error that it could not fetch the requested packages, popped up.

The errors I faced in general were: either the title of the thread or the fact that it could not fetch the requested packages.

So I decided, while hitting the same icon, to update my system to hardy heron 8.04.3 (this was the latest one). It was easy to do so, because I had that option available. The update went ok and I have not faced any problem since.

Regards!

peachtree195
September 10th, 2009, 11:22 AM
I have a similar problem when updating my system

System could not download all repository indexes

and then the detailed info:

Failed to fetch ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/source/Sources Unable to fetch file, server said 'Failed to open file. '
Some index files failed to download, they have been ignored, or old ones used instead.

How to fix this?

trellis2
September 13th, 2009, 06:57 AM
For peachtree 195 (Atlanta???) If you're not using mysql workbench, you can comment out the entry in your sources.list file. (here are the steps for newbies or my grandmother.)
1. open a terminal
Applications/Accessories/Terminal

2. open a text editor
usrnam@urcomputr:~$ sudo gedit /etc/apt/sources.list

3.Using the search function in gedit find mysql workbench.
# MySQL Workbench
deb ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/ binary/
deb-src ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/ source/

4. Comment out the binary and the source entries with a "#" sign at the beginning of each entry.
# MySQL Workbench
#deb ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/ binary/
#deb-src ftp://ftp.mysql.com/pub/mysql/download/gui-tools/ubuntu/ source/

5. Save the file. Close gedit and update your repos.
usrnam@urcomputr:~$ sudo apt-get update && sudo apt-get upgrade

let everyone know if this works.

neeraj_schrody
October 10th, 2009, 02:09 AM
Just installed an older version of ubuntu in an emergency, 7.04 feisty fawn I think. I get this message trying to install or update anything.

http://img.photobucket.com/albums/v600/IanBryant/Screenshot.png

http://security.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-i386/Packages.gz: 404 Not Found
http://archive.ubuntu.com/ubuntu/dists/feisty/main/binary-i386/Packages.gz: 404 Not Found
http://archive.ubuntu.com/ubuntu/dists/feisty/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-updates/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-updates/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/main/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/restricted/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
http://archive.ubuntu.com/ubuntu/dists/feisty-security/multiverse/binary-i386/Packages.gz: 404 Not Found [IP: 91.189.88.46 80]
after lots of googling i found sumthin...may b dis one help......
go to software source panel...



Software Sources: System > Administration > Software Sources.
[I]Synaptic: System > Administration > Synaptic >> Settings >> Repositories.
You will have to enter your password to gain access to the page.

or else u can access it frm openin update manager n den click on settings..
now change the server to main server in ubuntu software tab..

this has worked for me..
realted link:https://help.ubuntu.com/community/Repositories/Ubuntu