Linux Tutorials

Ubuntu -bash: do-release-upgrade: command not discovered

SEOClerks

I am utilizing Ubuntu Linux 16.04 LTS cloud server. I adopted this web page to improve Ubuntu 16.04 to 18.04 however, I get an error that learn as ‘ -bash: do-release-upgrade: command not discovered.’ Why am I not getting the Ubuntu 18.04 improve utilizing do-release-upgrade and the way do I repair this downside?

Introduction: Command not discovered error signifies that the do-release-upgrade device not put in in your system or cloud server. It occurs if you or your cloud internet hosting supplier makes use of a minimal Ubuntu Linux 16.04 LTS picture to construct your cloud server.

Ubuntu -bash: do-release-upgrade: command not discovered

Here’s a pattern session:
$ uname -mrs
$ lsb_release -a
$ sudo do-release-upgrade -d
Ubuntu -bash: do-release-upgrade: command not found

The best way to repair do-release-upgrade: command not discovered error

It is advisable set up package deal named ubuntu-release-upgrader-core that manages launch upgrades. It’s the core of the Ubuntu Launch Upgrader. To put in it, kind the next apt command or apt-get command:
$ sudo apt set up ubuntu-release-upgrader-core
How to install core of the Ubuntu Release Upgrader

The best way to improve Ubuntu 16.04 to 18.04

First replace your present system by working the next command:
$ sudo apt replace
$ sudo apt improve
Reboot the Linux system if a brand new Linux kernel was put in utilizing the reboot command or shutdown command:
$ sudo reboot

Warning: Be sure you preserve backups earlier than you begin improve process.

The do-release-upgrade command used to improve the working system to the newest launch from the command-line. That is the popular command if the machine has no graphic atmosphere or if the machine is to be upgraded over a distant connection corresponding to ssh command. Now begin the improve process:
$ sudo do-release-upgrade -d
Ubuntu upgrade operating system to latest release
Observe on-screen directions. To complete the improve, a restart is required. On the finish, you have to be promoted to reboot the field as comply with:
Ubuntu Linux system reboot required to finish updates

The best way to confirm up to date Ubuntu Linux 18.04 system

Discover out the Linux kernel model, kind:
$ uname -a
$ uname -mrs
Subsequent discover out Ubuntu Linux distro model, run:
$ lsb_release -a
Ubuntu Linux 18.04 LTS installed

Conclusion

You discovered the right way to set up do-release-upgrade device and improve the working system to the newest launch. And there you have got it Ubuntu Linux 16.04 LTS up to date to Ubuntu 18.04 LTS efficiently. See this web page for more information.

Posted by: Vivek Gite

The writer is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a coach for the Linux working system/Unix shell scripting. Get the newest tutorials on SysAdmin, Linux/Unix and open supply subjects through RSS/XML feed or weekly electronic mail e-newsletter.

Source link

Related Articles

Leave a Reply

Back to top button