How do I force a Linux package to uninstall?

How do I force a Linux package to uninstall?
Answer
Here are the steps.
  1. Find your package in /var/lib/dpkg/info , for example using: ls -l /var/lib/dpkg/info | grep <package>
  2. Move the package folder to another location, like suggested in the blog post I mentioned before. …
  3. Run the following command: sudo dpkg –remove –force-remove-reinstreq <package>
 

Tìm kiếm

Back
Top