aptly-publisher command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
aptly-publisher: command not found
or when using sudo you get the following error message
sudo: aptly-publisher: command not found
Solutions to aptly-publisher: command not found
How To Fix aptly-publisher: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu aptly-publisher is provided by aptly-publisher package.
aptly-publisher is:
This tool allows one to create aptly multi-component publishes from YAML definition of repositories and mirrors
Features:
- create or update publish from latest snapshots
- it takes configuration in yaml format which defines what to publish and how
- expected snapshot format is
<name>-<timestamp>
- promote publish
- use source publish snapshots to create or update another publish (eg. testing -> stable)
- cleanup unused snapshots
To fix this problem, we can install more using the command below.
sudo apt-get -y install aptly-publisher
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install aptly-publisher.
sudo apt -y install aptly-publisher
Or if you have aptitude installed you can use the following command.
sudo aptitude install aptly-publisher
Summary
In this tutorial we learn how to fix aptly-publisher command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.