apt-clone command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apt-clone: command not found
or when using sudo you get the following error message
sudo: apt-clone: command not found
Solutions to apt-clone: command not found
How To Fix apt-clone: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apt-clone is provided by apt-clone package.
apt-clone is:
This package can be used to clone/restore the packages on a apt based system. It will save/restore the packages, sources.list, keyring and automatic-installed states. It can also save/restore no longer downloadable packages using dpkg-repack.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apt-clone
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apt-clone.
sudo apt -y install apt-clone
Or if you have aptitude installed you can use the following command.
sudo aptitude install apt-clone
Summary
In this tutorial we learn how to fix apt-clone command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.