gpk-update-viewer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gpk-update-viewer: command not found
or when using sudo you get the following error message
sudo: gpk-update-viewer: command not found
Solutions to gpk-update-viewer: command not found
How To Fix gpk-update-viewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gpk-update-viewer is provided by gnome-packagekit package.
gnome-packagekit is:
PackageKit allows performing simple software management tasks over a DBus interface e.g. refreshing the cache, updating, installing and removing software packages or searching for multimedia codecs and file handlers.
This package contains a GTK+ based application for package installation and removal, an application to view system updates, a simple repository editor and PackageKit configuration tool and a viewer for package installation history.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gnome-packagekit
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gnome-packagekit.
sudo apt -y install gnome-packagekit
Or if you have aptitude installed you can use the following command.
sudo aptitude install gnome-packagekit
Summary
In this tutorial we learn how to fix gpk-update-viewer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.