Ubuntu – Upgrade from 12.04 to 14.04 from a terminal

12.0414.04

How do I upgrade to 14.04 around my existing system with out re-installing?
I have Ubuntu 12.04 LTS x64 currently.
I have checked through update manager.
Is there a way to do it through Terminal?

Best Answer

The (discussable) best way to do it is to switch to a TTY (Ctrl+Alt+F1) and login.

No enter sudo do-release-upgrade. Remember to disable all PPA's before trying to upgrade, else the upgrade may fail and your system may become unusable.

Have a backup before. The upgrade can always fail and leave you with a broken system.

Related Question