Quick Answer: How Do I Remove a Held Broken Package in Ubuntu?
Contents How Do I Get Rid of Broken Packages in Ubuntu? Here Are the Steps. Find Your Package in /Var/Lib/Dpkg/Info, for Example Using: Ls -L...
Contents
How do I get rid of broken packages in Ubuntu?
Here are the steps.
- Find your package in /var/lib/dpkg/info , for example using: ls -l /var/lib/dpkg/info | grep <package>
- Move the package folder to another location, like suggested in the blog post I mentioned before. …
- Run the following command: sudo dpkg –remove –force-remove-reinstreq <package>
Must Read
How do you fix e unable to correct problems you’ve held broken packages in Ubuntu?
First, make sure that local package cache is updated. Your system checks this cache for the available packages. It’s possible (but not certain) that the dependency package is seen by the system after the cache update. Try installing the troublesome package again and see if it fixes the problem.