repomapper command not found

In this troubleshooting guide we learn how to fix repomapper command not found error message

Introduction

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

repomapper: command not found

or when using sudo you get the following error message

sudo: repomapper: command not found

Solutions to repomapper: command not found

How To Fix repomapper: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu repomapper is provided by reposurgeon package.

reposurgeon is:

reposurgeon enables risky operations that version-control systems don’t want to let you do, such as (a) editing past comments and metadata, (b) excising commits, (c) coalescing commits, and (d) removing files and subtrees from repo history. The original motivation for reposurgeon was to clean up artifacts created by repository conversions.

reposurgeon is also useful for scripting very high-quality conversions from Subversion. It is better than git-svn at tag lifting, automatically cleaning up cvs2svn conversion artifacts, dealing with nonstandard repository layouts, recognizing branch merges, handling mixed-branch commits, and generally at coping with Subversion’s many odd corner cases. Normally Subversion repos should be analyzed at a rate of upwards of ten thousand commits per minute, though that rate can fall significantly on extremely large repositories.

An auxiliary program, repotool, performs various useful operations such as checkouts and tag listing in a VCS-independent manner. Yet another, repomapper, assists in automatically preparing contributor maps of CVS and SVN repositories.

The repocutter program is available for some specialized operations on Subversion dumpfiles; it may be useful in extracting portions of particularly gnarly Subversion repositories for conversion with reposurgeon.

This distribution supports a generic conversion workflow using these tools, and includes a long-form manual “Repository Editing and Conversion With Reposurgeon” that describes how to use it.

The file reposurgeon-git-aliases can be appended to your ~/.gitconfig to support working directly with action stamps in git.

Finally, an Emacs Lisp mode with useful functions for editing large comment message-boxes is included.

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

sudo apt-get -y install reposurgeon

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

You can also use apt command to install reposurgeon.

sudo apt -y install reposurgeon

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

sudo aptitude install reposurgeon

Summary

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