mr command not found

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

Introduction

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

mr: command not found

or when using sudo you get the following error message

sudo: mr: command not found

Solutions to mr: command not found

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

In Ubuntu mr is provided by myrepos package.

myrepos is:

The mr(1) command can checkout, update, or perform other actions on a set of repositories as if they were one combined repository. It supports any combination of git, svn, mercurial, bzr, darcs, cvs, vcsh, fossil, and veracity repositories, and support for other version control systems can easily be added. (There are extensions adding support for unison and git-svn, among others.)

It is extremely configurable via simple shell scripting. Some examples of things it can do include:

  • Update a repository no more frequently than once every twelve hours.
  • Run an arbitrary command before committing to a repository.
  • When updating a git repository, pull from two different upstreams and merge the two together.
  • Run several repository updates in parallel, greatly speeding up the update process.
  • Remember actions that failed due to a laptop being offline, so they can be retried when it comes back online. . This package also includes the webcheckout command.

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

sudo apt-get -y install myrepos

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

You can also use apt command to install myrepos.

sudo apt -y install myrepos

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

sudo aptitude install myrepos

Summary

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