How do i force removal of a package :

Patrick patrick at
Sun Apr 16 14:28:55 UTC 2006

Hey there :

> you can try synaptic GUI or I think the -f is the force option at least
> in apt-get remove -f <package>

Nope, i've looked through the force options, none seem to fit what i want :

root at globlet:~# apt-get remove -f libdspam7-drv-mysql
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 262kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 31099 files and directories currently installed.)
Removing libdspam7-drv-mysql ...
dpkg: error processing libdspam7-drv-mysql (--remove):
 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:
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at globlet:~#


More information about the ubuntu-users mailing list