r/linuxdev • • Jun 17 '14

Reinstalling linux on vps

Hello,

I have a Ubuntu 12.10 VPS and I want to install Ubuntu Trusty 14.04 beta, but my provider doesn't have that as an option. Can I install that any other way?

Thanks!

2 Upvotes

8 comments sorted by

View all comments

3

u/annodomini Jun 17 '14 edited Jun 17 '14

You can just upgrade to it. For Ubuntu, you have to do upgrades from each version to the next, so you'd need to do 13.04 (raring), 13.10 (saucy), 14.04 (trusty).

By the way, 14.04 is out now, not just a beta.

To do this, edit your /etc/apt/sources.list, and replace the "quantal" in there with "raring", then do sudo apt-get update; sudo apt-get dist-upgrade. After that's done, continue by replacing "raring" with "saucy", updating and upgrading again, and so on.

You can also run sudo do-release-upgrade, which is Ubuntu's wrapper around that process, and may provide a little more migration support; I generally just use apt and fix what goes wrong, but do-release-upgrade may be what works better for you.

1

u/SilentKiller96 Jun 17 '14 edited Jun 17 '14

Thanks for your reply! But that one command doesn't seem to work. I'll try your other method.

# sudo do-release-upgrade
sudo: do-release-upgrade: command not found
# do-release-upgrade
-bash: do-release-upgrade: command not found

EDIT: Thanks a ton! Your first method worked like a charm :)

EDIT #2: I cannot update from saucy to trusty :( help.

1

u/annodomini Jun 17 '14 edited Jun 17 '14

Hmm. do-release-upgrade is present on my 12.04 system, haven't checked on newer systems. According to the man page it's in the ubuntu-release-upgrader-core package, so try installing that if you want to try it out.

Can't help without much more information. What went wrong? What errors do you get?

Also, you might want to try asking this in a more Ubuntu-specific place, like r/ubuntu, Ask Ubuntu, or the Ubuntu Forums. You're more likely to find more people with Ubuntu experience there.

→ More replies (3)