Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2130  / 2 Years ago, thu, april 21, 2022, 10:57:08

I'm trying to upgrade from 10.04 to 10.10 and up. I am currently connected to the Internet. The last thing that I want to have to do is a fresh install since I dual boot the machine and I don't want to risk anything. Any suggestions or help would be greatly appreciated.



I have been getting the following 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://us.archive.ubuntu.com/ubuntu/dists/karmic-backports/restricted/binary-i386/Packages.gz [and sources.gz]> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch <see above> 404 Not Found [IP: 91.189.91.15 80]
Some index files failed to download, they have been ignored, or old ones used instead.

More From » 10.10

 Answers
7

karmic vs lucid


Your error:


Failed to fetch <http://us.archive.ubuntu.com/ubuntu/dists/karmic-backports/restricted/binary-i386/Packages.gz [and sources.gz]> 404 Not Found [IP: 91.189.91.15 80]


This is preventing your package management system correctly updating. Karmic repositories no longer exist in the main launchpad repository area.


To resolve this first error you could use similar instructions as I described here:



i.e.


Comment out the offending karmic repository in /etc/apt/sources.list - that is, add # character to the start of the line to comment out the offending repository


gksu gedit /etc/apt/sources.list

enter image description here


Then ensure your package management system is OK:


sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Once you've confirmed this, you can then do a LTS to LTS upgrade - we've already got a great Q&A that describes this:



[#32292] Saturday, April 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suitman

Total Points: 487
Total Questions: 105
Total Answers: 98

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
;