fp-fix-timestamps command not found

In this troubleshooting guide we learn how to fix fp-fix-timestamps command not found error message

Introduction

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

fp-fix-timestamps: command not found

or when using sudo you get the following error message

sudo: fp-fix-timestamps: command not found

Solutions to fp-fix-timestamps: command not found

How To Fix fp-fix-timestamps: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fp-fix-timestamps is provided by fp-utils package.

fp-utils is:

The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a completely portable RunTime Library (RTL) available on many platforms and compatible with Turbo Pascal, along with a platform-independent class-based Free Component Library (FCL) adding many Delphi extensions and interfacing with many popular open source libraries.

This dependency package always depends on the latest available version of the package containing some handy utilities for use with the Free Pascal Compiler:

  • data2inc convert binary/text data to include files;
  • fpcmake create Makefile from Makefile.fpc;
  • h2pas convert .h files to Pascal units;
  • plex/pyacc Pascal Lex and Yacc implementations;
  • ppdep create a dependency file for use with Makefiles;
  • ppudump dump the information stored in a .ppu (unit) file;
  • ppufiles show needed files for units;
  • ppumove place multiple units in a shared library;
  • ptop beautify source.

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

sudo apt-get -y install fp-utils

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

You can also use apt command to install fp-utils.

sudo apt -y install fp-utils

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

sudo aptitude install fp-utils

Summary

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