I made the mistake of installing texlive-2016 from a [PPA]{https://launchpad.net/~jonathonf/+archive/ubuntu/texlive-2016}. I had the default texlive installation for 14.04 installed and tried to install texlive 2016 in its place. The install failed, at which point I tried frantically to remove texlive-2016. I am unable to remove context
from the newer distribution.
dmortens@syllable:~$ sudo dpkg -P context
(Reading database ... 648524 files and directories currently installed.)
Removing context (2016.05.17.20160523-1~ubuntu14.04.1york0) ...
unknown option: format
dpkg: error processing package context (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
context
I have also tried sudo apt-get remove context
, sudo apt-get -f install
, sudo dpkg --remove --force-remove-reinstreq context
, and a number of other suggestions. I'm not sure what to make of the unknown option: format
message. How do I force the removal of this package? It is preventing me from adding or removing any other packages.
ppa-purge
instead ofapt-add-repository --remove
– Anwar Aug 24 '16 at 16:07ppa-purge
because of my broken installation. I believe what I really need to be able to do is remove context and potentially other broken packages. – dmort27 Aug 24 '16 at 18:45