Closed gijzelaerr closed 10 years ago
Original comment thread migrated from bugzilla
I'm getting beahviour similar to Ian's complaint, but I can't apt-get remove meqtrees:
Removing meqtrees ... rm: cannot remove `/usr/lib/meqtrees/*.pyc': No such file or directory dpkg: error processing meqtrees (--remove): subprocess installed post-removal script returned error exit status 1
The workaround was to create a file called tmp.pyc in /usr/lib/meqtrees, that seems to have made the script happy.
(I see Ian is getting a similar error when trying to install it, so the same workaround will probably work for him.)
I suppose the solution is to have the pre-/postinstall script NOT fail when there's nothing under /usr/lib/meqtrees -- if there's nothing to remove, why fail?
This should of been fixed with last weeks package (svn8345). Can you confirm you are still seeing this with this package?
Indeed, not anymore. I guess it was stuck because it was completely unable to remove the previous package version. Ian: looks like you need to apply the workaround I suggested so that it can wipe out the old broken package once and for all.
OK I have managed to remove the old version and install the new one using the fake.pyc fix.
I'll take it for a test drive over the next few days.
at 2011-08-23 14:05:42 Oleg Smirnov reported:
meqtrees package pre-/postinstall script broken