aptitude-create-state-bundle command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
aptitude-create-state-bundle: command not found
or when using sudo you get the following error message
sudo: aptitude-create-state-bundle: command not found
Solutions to aptitude-create-state-bundle: command not found
How To Fix aptitude-create-state-bundle: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu aptitude-create-state-bundle is provided by aptitude-common package.
aptitude-common is:
aptitude is a package manager with a number of useful features, including: a mutt-like syntax for matching packages in a flexible manner, dselect-like persistence of user actions, the ability to retrieve and display the Debian changelog of most packages, and a command-line mode similar to that of apt-get.
This package contains the data files and translations used by aptitude.
To fix this problem, we can install more using the command below.
sudo apt-get -y install aptitude-common
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install aptitude-common.
sudo apt -y install aptitude-common
Or if you have aptitude installed you can use the following command.
sudo aptitude install aptitude-common
Summary
In this tutorial we learn how to fix aptitude-create-state-bundle command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.