Bug#468202: subprocess post-installation script returned error exit status 1
I hit the same issue here. A purge and reinstall did not help. Then I
noticed that the purge seemed to be spitting out
amitg@athena. sudo dpkg --force-depends --purge openoffice.org-writer2latex
dpkg: openoffice.org-writer2latex: dependency problems, but removing anyway
as you request:
openoffice.org-writer depends on openoffice.org-writer2latex.
(Reading database ... 240675 files and directories currently installed.)
Removing openoffice.org-writer2latex ...
ERROR: Lock file indicates that a concurrent Office process is running!
unopkg failed.
ERROR: Lock file indicates that a concurrent Office process is running!
unopkg failed.
and indeed, I had a ${HOME}/.openoffice.org2/.lock (but no OpenOffice.org
process running, confirmed with "fuser"). Once I deleted that, I was able to
purge and install successfully.
It sounds like unopkg needs a lesson in manners. It should check for active
users of the lockfile before dying abruptly, and why can't it do its work
when OpenOffice.org is running, anyway?
Amit
Reply to: