ostree-push command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ostree-push: command not found
or when using sudo you get the following error message
sudo: ostree-push: command not found
Solutions to ostree-push: command not found
How To Fix ostree-push: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ostree-push is provided by ostree-push package.
ostree-push is:
ostree-push uses ssh to push commits from a local OSTree repo to a remote OSTree repo. This is to fill a gap where currently you can only pull commits in core ostree. To publish commits to a remote repository, you either have to pull from the local repo to the remote repo or use an out of band mechanism like rsync.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ostree-push
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ostree-push.
sudo apt -y install ostree-push
Or if you have aptitude installed you can use the following command.
sudo aptitude install ostree-push
Summary
In this tutorial we learn how to fix ostree-push command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.