cvs-upgrade command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cvs-upgrade: command not found
or when using sudo you get the following error message
sudo: cvs-upgrade: command not found
Solutions to cvs-upgrade: command not found
How To Fix cvs-upgrade: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cvs-upgrade is provided by cvs-buildpackage package.
cvs-buildpackage is:
This package provides the capability to inject or import Debian source packages into a CVS repository, build a Debian package from the CVS repository, and helps in integrating upstream changes into the repository.
The import or inject process takes a dsc (Debian source control) file, and imports it into CVS. The module path can maintains distribution and section information; for example, one may inject hemm/hemm/devel/make into the repository.
The build process works analogously to dpkg-buildpackage, and can be used from within the checked out source tree, or with additional information, can be used from anywhere. In the latter case, you can build any previous version of the package, as long as the corresponding orig.tar.gz file is still around. The build script checks out the relevant version from the CVS repository, and runs dpkg-buildpackage to create the Debian package.
Combined, these utilities provide an infrastructure to facilitate the use of CVS by Debian maintainers. This allows one to keep separate CVS branches of a package for stable, unstable, and possibly experimental distributions, along with the other benefits of a version control system.
This can be used to generate a unified CVS source tree, for example.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cvs-buildpackage
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cvs-buildpackage.
sudo apt -y install cvs-buildpackage
Or if you have aptitude installed you can use the following command.
sudo aptitude install cvs-buildpackage
Summary
In this tutorial we learn how to fix cvs-upgrade command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.