cpio-filter command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cpio-filter: command not found
or when using sudo you get the following error message
sudo: cpio-filter: command not found
Solutions to cpio-filter: command not found
How To Fix cpio-filter: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cpio-filter is provided by libarchive-cpio-perl package.
libarchive-cpio-perl is:
Archive::Cpio provides a few functions to read and write cpio files.
It allows one to read and write cpio files, to list, add, and remove elements, and to manipulate them on the fly.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libarchive-cpio-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libarchive-cpio-perl.
sudo apt -y install libarchive-cpio-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libarchive-cpio-perl
Summary
In this tutorial we learn how to fix cpio-filter command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.