Could not download all repository indexes <SOLVED>

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
elkhedewy

Could not download all repository indexes <SOLVED>

Post by elkhedewy »

Hello

i just installed linux mint 16 instead of ubuntu 13.10

and after installing it, i've many problems :

one of them :
i got this error when i try to refresh software update:


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 cdrom://Linux Mint 16 _petra_ - Release amd64 20131126/dists/saucy/contrib/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Linux Mint 16 _petra_ - Release amd64 20131126/dists/saucy/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Linux Mint 16 _petra_ - Release amd64 20131126/dists/saucy/non-free/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Linux Mint 16 _petra_ - Release amd64 20131126/dists/saucy/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Linux Mint 16 _petra_ - Release amd64 20131126/dists/saucy/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Linux Mint 16 _petra_ - Release amd64 20131126/dists/saucy/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)/dists/saucy/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)/dists/saucy/restricted/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)/dists/saucy/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)/dists/saucy/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch http://extras.ubuntu.com/ubuntu/dists/petra/main/source/Sources 404 Not Found
Failed to fetch http://extras.ubuntu.com/ubuntu/dists/petra/main/binary-amd64/Packages 404 Not Found
Failed to fetch http://extras.ubuntu.com/ubuntu/dists/petra/main/binary-i386/Packages 404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/main/source/Sources 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/restricted/source/Sources 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/universe/source/Sources 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/multiverse/source/Sources 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/petra-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/main/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/restricted/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/universe/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/multiverse/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/main/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/restricted/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/universe/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/multiverse/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-updates/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/main/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/restricted/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/universe/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/multiverse/source/Sources 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/petra-backports/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
Some index files failed to download. They have been ignored, or old ones used instead.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Could not download all repository indexes

Post by TheDynamicHamza21 »

There is a problem with your sources list

http://extras.ubuntu.com/ubuntu/dists/petra/main/source/Sources

Ubuntu Petra doesn't exist it should read saucy not petra.

You can try this

http://forums.linuxmint.com/viewtopic.php?f=47&t=152207#p792923

or open a terminal and copy and paste this into it:

Code: Select all

gksu gedit /etc/apt/sources.list.d/official-package-repositories.list
then ensure your sources list looks like this or copy and paste this into the file:
deb http://packages.linuxmint.com/ petra main upstream import
deb http://archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ saucy partner

# deb http://archive.removed/ubuntu saucy-removed apps games

then save the file then copy and paste this into the terminal

Code: Select all

sudo apt-get update && sudo apt-get upgrade
That should fix your sources list.
Linux Registered User: # 573034

Hamza21.com
elkhedewy

Re: Could not download all repository indexes <SOLVED>

Post by elkhedewy »

Hello
problem solved, but still having hardware problem. ..
http://forums.linuxmint.com/viewtopic.php?f=49&t=152388&p=793875#p793875
Thank you
rosenhof
Level 1
Level 1
Posts: 34
Joined: Thu Jan 10, 2013 3:33 am
Location: Sweden

Re: Could not download all repository indexes <SOLVED>

Post by rosenhof »

Hi

Editing the list actually didn't worked, the list was correct but it still tried to use url's with petra instead of saucy.
I got the feeling that this list wasn't used, however I solved it by editing the url's manually, that helped.
cavemansi

Re: Could not download all repository indexes <SOLVED>

Post by cavemansi »

hmm... I'm getting this \/ at the end of the command log after doing as you said - editing text file in geddit after loading through terminal

W: Failed to fetch cdrom://Linux Mint 16 _petra_ - Release i386 20131126/dists/saucy/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Linux Mint 16 _petra_ - Release i386 20131126/dists/saucy/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Linux Mint 16 _petra_ - Release i386 20131126/dists/saucy/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

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


Any more ideas??

Thanks for your time
Si
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Could not download all repository indexes <SOLVED>

Post by TheDynamicHamza21 »

rosenhof amd cavemansi

Did either of you try this?
Open Software Sources application from your menu and at the bottom click to restore the default settings
http://forums.linuxmint.com/viewtopic.p ... 07#p792923
Linux Registered User: # 573034

Hamza21.com
Locked

Return to “Software & Applications”