Feed on
Posts
Comments

while trying to upgrade my packages, i got caught with the following error:

Removing ghostscript …
Purging font configuration of gs…
No alternatives for ps2pdf.
dpkg: error processing ghostscript (–remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
ghostscript
E: Sub-process /usr/bin/dpkg returned an error code (1)

to solve it, i edited the following file:

/var/lib/dpkg/info$ sudo emacs ghostscript.prerm

by commenting out the lines referring to ps2pdf. after that, sudo apt-get install -f worked!


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS