Wednesday, September 16, 2015

[Linux] Force Remove/Uninstall Broken / Unstable / Half Installed Package

Recently I've install a package from download which was not match to my pc, Raspberry. It says that it was half installed and need to reinstall. But everytime I try to reinstall it was exit with error, Can't fix it.

So here we go, if you got such stuck situation:




replace with the name package or file, which you can list in /var/lib/dpkg/info.

Don't forget to issue sudo apt-get update to ensure we are safely remove package. If you have a nicer approach, please write on command, hope can help somebody.

No comments:

Post a Comment