fakechanges command not found

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

Introduction

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

fakechanges: command not found

or when using sudo you get the following error message

sudo: fakechanges: command not found

Solutions to fakechanges: command not found

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

In Ubuntu fakechanges is provided by haskell-debian-utils package.

haskell-debian-utils is:

This package contains tools shipped with the Haskell library “debian”:

  • fakechanges: Sometimes you have the .debs, .dsc, .tar.gz, .diff.gz, etc from a package build, but not the .changes file. This package lets you create a fake .changes file in case you need one.

  • debian-report: Analyze Debian repositories and generate reports about their contents and relations. For example, a list of all packages in a distribution that are trumped by another distribution.

  • apt-get-build-depends: Tool which will parse the Build-Depends{-Indep} lines from debian/control and apt-get install the required packages

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

sudo apt-get -y install haskell-debian-utils

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

You can also use apt command to install haskell-debian-utils.

sudo apt -y install haskell-debian-utils

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

sudo aptitude install haskell-debian-utils

Summary

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