How do i force removal of a package :

Alex Mandel tech_dev at wildintellect.com
Sun Apr 16 11:26:23 UTC 2006


Patrick wrote:
> Hi,
> 
> How do i force removal of a package
> 
> the following package :
> 
> root at globlet:/var/cache/apt/archives# aptitude purge libdspam7-drv-mysql
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Building tag database... Done
> The following packages are unused and will be REMOVED:
>   dbconfig-common pwgen
> The following packages will be REMOVED:
>   libdspam7-drv-mysql{p}
> 0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 1491kB will be freed.
> Do you want to continue? [Y/n/?]
> Writing extended state information... Done
> (Reading database ... 31046 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
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> 
> Patrick
> 
> --
> Patrick
> ----------------------------------------
> patrick <at> eefy <dot> net
> 
you can try synaptic GUI or I think the -f is the force option at least 
in apt-get remove -f <package>

Something like that - Alex





More information about the ubuntu-users mailing list