git-debimport command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
git-debimport: command not found
or when using sudo you get the following error message
sudo: git-debimport: command not found
Solutions to git-debimport: command not found
How To Fix git-debimport: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu git-debimport is provided by gitpkg package.
gitpkg is:
This package provides tools and automation to assist with maintaining Debian packages in git.
gitpkg - creates a source package from specified repository versions. git-debimport - creates a git repository from a set of existing packages.
No particular repository layout is required for gitpkg to export source from it, existing repositories should require no modification. If there is a valid Debian source tree in there then gitpkg can export a package from any revision of it for you. In the Grand Old Manner these tools are intended to simplify specific parts of your existing packaging process and integrate smoothly with it, not to replace that with its own singular constraints on how you may work. Since not every packaging style suits every package, gitpkg aims to be able to work equally well with all of them by sticking to just its part of the job and staying out of your way entirely until that job needs to be done. Hook points are provided for performing additional package and user specific operations as you may desire or require at export time.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gitpkg
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gitpkg.
sudo apt -y install gitpkg
Or if you have aptitude installed you can use the following command.
sudo aptitude install gitpkg
Summary
In this tutorial we learn how to fix git-debimport command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.