Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 657  / 1 Year ago, sun, january 8, 2023, 11:21:44

I have a Dell Power Edgge 2950 server running Ubuntu 8.04.
Now I would like to upgrade it to to the latest version 13.10.



This server is hosting MySQL database and Apache server.



root@server:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.4 LTS"


I am new to Ubuntu world. I Would like to understand all challenges in upgrading and how to solve the issues them.


More From » apache2

 Answers
4

There are a couple of things to note.



Firstly, you cannot go straight from 8.04 to 13.10. You can however jump releases if you are using LTS releases (8.04>10.04>12.04). This is going to take a bit of time, so make sure you're prepared for that. Also make sure you have backed up your important data in case anything goes wrong.



Secondly, you will need to modify your repositories (if you haven't already) to point to the old-releases. Edit /etc/apt/sources.list and change every (xx.)archive.ubuntu.com to old-releases.ubuntu.com



E.g. ://au.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources would be changed to ://old-releases.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources



Then run sudo apt-get update and make sure it works without errors. If it does, run sudo apt-get upgrade and then do-release-upgrade to upgrade to the next major version. You can then continue to use do-release-upgrade until you get your system to the version you want.



Note that do-release-upgrade requires update-manager-core to be installed, so you may need to install that before upgrading.



Once you have finished upgrading, you should change your repositories back to the current list if they haven't been automatically, or otherwise just remove the old-releases entries if they are still in there.



You can see https://help.ubuntu.com/community/EOLUpgrades for more information on upgrading releases that are past EOL (End Of Life).



Good luck.


[#28127] Tuesday, January 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suspengn

Total Points: 477
Total Questions: 104
Total Answers: 100

Location: Rwanda
Member since Thu, Feb 10, 2022
2 Years ago
suspengn questions
;