Reputation: 1017
Accidentally installed something, which broke during the install, which is good since I got the wrong package.
Unfortunately it's broken apt-get like others have experienced. I've seen plenty of ways to continue the broken install, but in my case I want to not continue the install and just remove the offending install.
Any suggestions?
Upvotes: 0
Views: 307
Reputation: 1017
Seems you can achieve this with the command
$ apt-get remove --fix-broken <<PACKAGENAME>>
Where <<PACKAGENAME>>
was the package that caused the breakage. The key here was to remove
, while all the solutions to continue with the install had install
.
The above picked up that I was half-way through an install, and so removing it (with this flag) removed it like a charm. If you don't have the flag, it won't identify it as being installed, which is what stumped me previously.
Upvotes: 0