How do i force removal of a package :

Antony Gelberg antony at wayforth.co.uk
Mon Apr 17 21:23:16 UTC 2006


Patrick wrote:
> Hi,
> 
> 
>>In which case the --force-all option to dpkg will fix it...
> 
> 
> Now see, i'm not that dumb, i can use the manual ;)
> 
> so one would figure that force-all would do the job :

Where in man dpkg does it say that force options allow removal of a 
package with a broken .prerm script?

> 
> root at globlet:~# dpkg -P --force-all  libdspam7-drv-mysql
> (Reading database ... 31099 files and directories currently installed.)
> Removing libdspam7-drv-mysql ...
> dpkg: error processing libdspam7-drv-mysql (--purge):
>  subprocess pre-removal script returned error exit status 10
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 10
> Errors were encountered while processing:
>  libdspam7-drv-mysql
> root at globlet:~#
> 
> Patrick
> 





More information about the ubuntu-users mailing list