Search code examples
kali-linux

How to uninstall packages installed with dpkg


I've installed steam in my Kali Linux machine with dpkg. I want to uninstall steam.

I've already tried uninstalling steam with dpkg -r steam_latest and dpkg --purge steam_latest but it's giving me error

dpkg: warning: ignoring request to remove steam_latest which isn't installed

Also I've tried uninstalling it with apt. Here is the result with apt

Reading package lists... Done Building dependency tree
Reading state information... Done
Package 'steam:i386' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies: steam-launcher : Depends: python-apt but it is not going to be installed Recommends: jockey-common but it is not installable

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Solution

  • Try: sudo apt-get purge '^steam.*'