如何卸载使用 dpkg 安装的包

How to uninstall packages installed with dpkg

我用 dpkg 在我的 Kali Linux 机器上安装了 Steam。我想卸载steam。

我已经尝试使用 dpkg -r steam_latestdpkg --purge steam_latest 卸载 Steam,但它给我错误

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

我也试过用 apt 卸载它。这是 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).

尝试:sudo apt-get purge '^steam.*'