9
2
I am manually installing a .deb file (which I don't maintain) onto my Ubuntu system.
The package has a post-installation script which erroneously fails, and therefore the package is considered broken.
dpkg: error processing astah-community (--configure):
subprocess installed post-installation script returned error exit status 127
This package is actually installed correctly and is working fine (the post-installation script is incorrect). When I perform any apt operation on my system it now complains that the package is broken; how can I resolve this?
This doesn't help:
sudo dpkg -i /path/to/the.deb --force-all
Thanks, worked for me too, just don't try to do it with aptitude, for some reason it keeps replacing my edited postinst script. But apt-get worked for me. – soger – 2016-05-13T09:58:27.807
Yes, that worked! Thankyou. – wool.in.silver – 2013-03-14T19:55:11.880