synaptic-pkexec command not found

In this troubleshooting guide we learn how to fix synaptic-pkexec command not found error message

Introduction

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

synaptic-pkexec: command not found

or when using sudo you get the following error message

sudo: synaptic-pkexec: command not found

Solutions to synaptic-pkexec: command not found

How To Fix synaptic-pkexec: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu synaptic-pkexec is provided by synaptic package.

synaptic is:

Synaptic is a graphical package management tool based on GTK+ and APT. Synaptic enables you to install, upgrade and remove software packages in a user friendly way.

Besides these basic functions the following features are provided:

  • Search and filter the list of available packages
  • Perform smart system upgrades
  • Fix broken package dependencies
  • Edit the list of used repositories (sources.list)
  • Download the latest changelog of a package
  • Configure packages through the debconf system
  • Browse all available documentation related to a package (dwww is required)

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

sudo apt-get -y install synaptic

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

You can also use apt command to install synaptic.

sudo apt -y install synaptic

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

sudo aptitude install synaptic

Summary

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