faked-tcp command not found

In this troubleshooting guide we learn how to fix faked-tcp command not found error message

Introduction

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

faked-tcp: command not found

or when using sudo you get the following error message

sudo: faked-tcp: command not found

Solutions to faked-tcp: command not found

How To Fix faked-tcp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu faked-tcp is provided by fakeroot package.

fakeroot is:

fakeroot provides a fake “root environment” by means of LD_PRELOAD and SysV IPC (or TCP) trickery. It puts wrappers around getuid(), chown(), stat(), and other file-manipulation functions, so that unprivileged users can (for instance) populate .deb archives with root-owned files; various build tools use fakeroot for this by default.

This package contains fakeroot command and the daemon that remembers fake ownership/permissions of files manipulated by fakeroot processes.

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

sudo apt-get -y install fakeroot

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

You can also use apt command to install fakeroot.

sudo apt -y install fakeroot

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

sudo aptitude install fakeroot

Summary

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