upgrade-system command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
upgrade-system: command not found
or when using sudo you get the following error message
sudo: upgrade-system: command not found
Solutions to upgrade-system: command not found
How To Fix upgrade-system: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu upgrade-system is provided by upgrade-system package.
upgrade-system is:
Upgrade-system offers a convenient way to keep a Debian system up-to-date, yet free from accumulated cruft such as obsolete libraries.
It is particularly useful on systems that mix packages from different releases (stable/testing/unstable) and on desktop systems where packages are frequently installed or removed according to evolving user tastes.
By default, it is configured to purge all packages that are not listed as another package’s dependency. Less drastic settings are possible by editing /etc/upgrade-system.conf(5).
To fix this problem, we can install more using the command below.
sudo apt-get -y install upgrade-system
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install upgrade-system.
sudo apt -y install upgrade-system
Or if you have aptitude installed you can use the following command.
sudo aptitude install upgrade-system
Summary
In this tutorial we learn how to fix upgrade-system command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.