Upgrading from the command line?

I would love to recognize just how to upgrade from my existing variation of Ubuntu to the next secure from the Command line user interface?

0
2019-05-13 05:51:27
Source Share
Answers: 3

If you run the command sudo do-release-upgrade -d via SSH after that make use of a GNU Screen, due to the fact that the upgrade procedure will certainly switch off SSH - > close the default port and also open a new one (it will certainly educate you of this new port), so:

$ ssh [email protected]

$ screen -S upgrade
$ sudo do-release-upgrade -d

open a new terminal on customer computer system:

$ ssh -p PORT [email protected]

$ screen -d
$ screen -r upgrade
0
2019-05-22 17:57:01
Source

You can do

sudo do-release-upgrade

for command line upgrading

(This is in fact the like for Ubuntu Server)

0
2019-05-17 19:50:15
Source

You'll first require to see to it upgrade - supervisor - core exists (it might currently be mounted):

sudo apt-get install update-manager-core

Next, run:

sudo do-release-upgrade

You might require to examine /etc/update-manager/release-upgrades and also transform the line:

Prompt=lts

to:

Prompt=normal

for the release to turn up.

0
2019-05-17 19:35:17
Source