Recently, I encountered a package management related error in Ubuntu Jaunty Jackalope 64bit.
The package was python-beagle and the error was: “E: python-beagle: subprocess pre-removal script returned error exit status 2” and details showed:
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing python-beagle (–remove):
subprocess pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I managed to fix it. Read on for how I did it.
You may have noticed a problem when uninstalling some programs, if you have Ntfs in Windows XP, Vista or 7, you are likely to face this problem. When you try to uninstall ’em from Add/Remove Programs List, they show a message “Could not Open Install.Log File!”. This problem is generally seen with “Wise Installation Wizard”. I have seen it only with “Wise Installation Wizard”. I don’t know if other installers give rise to same problem.
When you try to uninstall them from
It again gives the same error.
This can be solved and the program can be un-installed without having to remove the directory, shortcuts and registry entries manually, which is really difficult and tiresome. I have found a solution to this problem and sharing with you all.