apt-move command not found

In this troubleshooting guide we learn how to fix apt-move command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

apt-move: command not found

or when using sudo you get the following error message

sudo: apt-move: command not found

Solutions to apt-move: command not found

How To Fix apt-move: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu apt-move is provided by apt-move package.

apt-move is:

apt-move is used to move a collection of Debian package files into a proper archive hierarchy as is used in the official Debian archive. It is intended as a tool to help manage the apt-get(8) file cache, but could be configured to work with any collection of Debian packages.

Running apt-move periodically will assist in managing the resulting partial mirror by optionally removing obsolete packages, and creating valid local Packages.gz files. It can also build a partial or complete local mirror of a Debian binary distribution (including an ``installed-packages only’’ mirror).

To fix this problem, we can install more using the command below.

sudo apt-get -y install apt-move

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install apt-move.

sudo apt -y install apt-move

Or if you have aptitude installed you can use the following command.

sudo aptitude install apt-move

Summary

In this tutorial we learn how to fix apt-move command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.