linux poison RSS
linux poison Email

How to Fix broken package script - Ubuntu

When a command in the package script returns error for some reason and the script exits with error, the package management system aborts their action and ends up with partially installed packages. When a package contains bugs in its removal scripts, the package may become impossible to remove and quite nasty.

For the package script problem of "package_name", you should look for:
You edit the offending part of the script from the root:
by prepending it with "#" or,
by appending it with "|| true". 
Then configures all partially installed packages by: # dpkg --configure -a


Post a Comment

Related Posts with Thumbnails