w3resource

Upgrade Ubuntu Linux server with do-release-upgrade

do-release-upgrade

do-release-upgrade utility is used to upgrade to the latest version of Ubuntu server.

To collect latest package information, execute update apt-get

sudo apt-get update

You have to install the upgrade utility then.

sudo apt-get install update-manager-core

And then, finally you run do-release-upgrade

do-release-upgrade

Updating installed packages

Use the apt-get tool

sudo apt-get upgrade

apt-get upgrade

To automate package updates, use unattendedupgrades:

Install the package first:

sudo apt-get install unattended-upgrades

unattended4

You need to configure it then:

sudo vi /etc/apt/apt.conf.d/50unattended-upgrades

Unattended upgrade actions are logged in /var/log/unattended-upgrades. Add a Cron job to run /usr/bin/unattended-upgrade periodically.

Previous: Remote administration ubuntu linux server
Next: User management



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/linux-system-administration/upgrading.php