Techolac - Computer Technology News
  • Home
  • Internet
  • Business
  • Computers
  • Gadgets
  • Lifestyle
  • Phones
  • Travel
  • Tech
  • More
    • Automotive
    • Education
    • Entertainment
    • Health
    • SEO
    • Linux
    • WordPress
    • Home Improvement
    • How to
    • Games
No Result
View All Result
  • Home
  • Internet
  • Business
  • Computers
  • Gadgets
  • Lifestyle
  • Phones
  • Travel
  • Tech
  • More
    • Automotive
    • Education
    • Entertainment
    • Health
    • SEO
    • Linux
    • WordPress
    • Home Improvement
    • How to
    • Games
No Result
View All Result
Techolac - Computer Technology News
No Result
View All Result
Home Linux

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

by Editorial Staff
July 1, 2019
in Linux
Reading Time: 3 mins read

I am using Ubuntu Linux 16.04 LTS cloud server. I followed this page to upgrade Ubuntu 16.04 to 18.04 but, I am getting an error that read as ‘ -bash: do-release-upgrade: command not found.’ Why am I not getting the Ubuntu 18.04 upgrade using do-release-upgrade and how do I fix this problem?

Introduction: Command not found error indicates that the do-release-upgrade tool not installed on your system or cloud server. It happens when you or your cloud hosting provider uses a minimal Ubuntu Linux 16.04 LTS image to build your cloud server.

 

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

Here is a sample session:
$ uname -mrs
$ lsb_release -a
$ sudo do-release-upgrade -d

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

How to fix do-release-upgrade: command not found error

You need to install package named ubuntu-release-upgrader-core that manages release upgrades. It is the core of the Ubuntu Release Upgrader. To install it, type the following apt command or apt-get command:
$ sudo apt install ubuntu-release-upgrader-core
How to install core of the Ubuntu Release Upgrader

How to upgrade Ubuntu 16.04 to 18.04

First update your current system by running the following command:
$ sudo apt update
$ sudo apt upgrade

Reboot the Linux system if a new Linux kernel was installed using the reboot command or shutdown command:
$ sudo reboot

Warning: Make sure you keep backups before you start upgrade procedure.

The do-release-upgrade command used to upgrade the operating system to the latest release from the command-line. This is the preferred command if the machine has no graphic environment or if the machine is to be upgraded over a remote connection such as ssh command. Now start the upgrade procedure:
$ sudo do-release-upgrade -d
Ubuntu upgrade operating system to latest release
Follow on-screen instructions. To finish the upgrade, a restart is required. At the end, you should be promoted to reboot the box as follow:
Ubuntu Linux system reboot required to finish updates

How to verify updated Ubuntu Linux 18.04 system

Find out the Linux kernel version, type:
$ uname -a
$ uname -mrs

Next find out Ubuntu Linux distro version, run:
$ lsb_release -a
Ubuntu Linux 18.04 LTS installed

Conclusion

You learned how to install do-release-upgrade tool and upgrade the operating system to the latest release. And there you have it Ubuntu Linux 16.04 LTS updated to Ubuntu 18.04 LTS successfully. See this page for more info.

 

See also  10 Linux brctl Command Examples for Ethernet Network Bridge

Related Posts

Top Commands to Check the Running Processes in Linux
Linux

Top Commands to Check the Running Processes in Linux

May 27, 2022
4 Tips to Prevent and Troubleshoot the ImagePullBackOff Kubernetes Error
Linux

4 Tips to Prevent and Troubleshoot the ImagePullBackOff Kubernetes Error

March 30, 2022
How Common Signals are Used in Kubernetes Pod Management
Linux

How Common Signals are Used in Kubernetes Pod Management

November 20, 2021

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

30 VUDU Alternatives To Watch Movies And TV Shows Online

30 VUDU Alternatives To Watch Movies And TV Shows Online

July 3, 2022
finland web hosting reviews

Top 10 Finland Web Hosting Reviews 2022

July 3, 2022
warehouse management systems software

Top 10 Best Warehouse Management Systems In 2022

July 2, 2022
Find Old Pensions and Boost Your Retirement Income

Find Old Pensions and Boost Your Retirement Income

July 2, 2022
Industry 4.0: Unlocking New Business Opportunities for the Manufacturing Industry

Industry 4.0: Unlocking New Business Opportunities for the Manufacturing Industry

July 2, 2022
  • DashTech
  • TechDaddy
  • Terms and Conditions
  • Disclaimer
  • Write for us

© Techolac © Copyright 2019 - 2022, All Rights Reserved.

No Result
View All Result
  • Home
  • Internet
  • Business
  • Computers
  • Gadgets
  • Lifestyle
  • Phones
  • Travel
  • Tech
  • More
    • Automotive
    • Education
    • Entertainment
    • Health
    • SEO
    • Linux
    • WordPress
    • Home Improvement
    • How to
    • Games

© Techolac © Copyright 2019 - 2022, All Rights Reserved.

Go to mobile version