Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 18834  / 2 Years ago, sun, november 14, 2021, 1:51:04

I am current trying to upgrade a ubuntu server via ssh. I am stuck since i can not perform a do-release-upgrade. It tries maverick instead of trying 12.04



Essentially I think he is failing because 12.04 is an old release. I had to change /var/lib/update-manager/meta-release to start using old-releases mirrors instead of archive since it was failing before with another problem.



My sources : http://pastebin.com/xrFTaKjn
My /var/lib/update-manager/meta-release : http://pastebin.com/A3Zs6DYx



What is wrong?



My error:



Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading             authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg'  extracting 'maverick.tar.gz' tar: Removing leading `/' from member names

Reading cache

Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done

Updating repository information WARNING: Failed to read mirror file 35% [Working] Error during update

A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.

W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-updates/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-updates/main/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.202 80] , E:Some index files failed to download, they have been ignored, or old ones used instead.


Restoring original system state

Aborting Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done

More From » 12.04

 Answers
5

It fails because you are on 10.10 (Maverick) and not 10.04 (Lucid). Upgrading from 10.10 to 12.04 is unsupported, while 10.04 -> 12.04 should work.



10.10 is no longer supported, and there is no upgrade path to any supported currently release. Just backup, and reinstall.



12.04 will be supported until Aprl 2015.



To upgrade from 10.04 server to the next LTS, install update-manager-core,

then edit /etc/update-manager/release-upgrades, and set Prompt=lts.



You'll obviously have to edit the /etc/apt/sources.list and reset every line back to lucid first.


[#32117] Monday, November 15, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tisglitter

Total Points: 307
Total Questions: 103
Total Answers: 119

Location: Bosnia and Herzegovina
Member since Thu, Jun 24, 2021
3 Years ago
tisglitter questions
Sun, Jan 9, 22, 16:18, 2 Years ago
Wed, Jun 1, 22, 18:03, 2 Years ago
Fri, Dec 10, 21, 14:31, 2 Years ago
;