jigdo-mirror command not found

In this troubleshooting guide we learn how to fix jigdo-mirror command not found error message

Introduction

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

jigdo-mirror: command not found

or when using sudo you get the following error message

sudo: jigdo-mirror: command not found

Solutions to jigdo-mirror: command not found

How To Fix jigdo-mirror: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jigdo-mirror is provided by jigdo-file package.

jigdo-file is:

Using the jigdo-lite script contained in this package, you can use your nearest “regular” Debian mirror to download Debian images, instead of having to use one of the few, slow, overloaded mirrors that offer the images as direct HTTP or FTP downloads. See http://www.debian.org/CD/jigdo-cd/ for details.

Jigsaw Download (for short jigdo) is a scheme developed primarily to make it easy to distribute huge filesystem images (e.g. CD (ISO9660) or DVD (UDF) images) over the internet, but it could also be used for other data which is awkward to handle due to its size, like audio/video files or large software packages.

jigdo tries to ensure that the large file is downloaded in small parts which can be stored on different servers. People who want to download the image do so by telling the jigdo download tool to process one “.jigdo” file; using it, jigdo downloads the parts and reassembles the image. jigdo-file is used to prepare the files for download.

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

sudo apt-get -y install jigdo-file

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

You can also use apt command to install jigdo-file.

sudo apt -y install jigdo-file

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

sudo aptitude install jigdo-file

Summary

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