On Apr 10, digger vermont wrote > I'm upgrading from 1.2 to bo and at tetex-*'s request am trying to run > "dpkg --purge --force-depends latex". This is the response I get: > > (Reading database ... 31313 files and directories currently installed.) > Removing latex ... > Removing latex format(s) using install-fmt-base(8) > /var/lib/dpkg/info/latex.prerm: install-fmt-base: command not found > dpkg: error processing latex (--purge): > subprocess pre-removal script returned error exit status 127 > Building new latex format(s) using install-fmt-base(8) > dpkg: error while cleaning up: > subprocess post-installation script returned error exit status 127 > Errors were encountered while processing: > latex
Unfortunately AFAIK there is no way to tell dpkg to ignore prerm errors. Here's what I did (note: in general, one should not modify dpkg's files and scripts directly): since I was removing latex and the other old tex packages anyway, it didn't matter if for a brief period they aren't working right, so I edited /var/lib/dpkg/info/latex.prerm to do 'exit 0' first thing. Thus, the prerm doesn't fail, and latex gets removed. Greetings, Ray -- Cyberspace, a final frontier. These are the voyages of my messages, on a lightspeed mission to explore strange new systems and to boldly go where no data has gone before.