How to Repair Synaptic and Add/Remove Programs ?
Derek Broughton
news at pointerstop.ca
Wed Sep 10 19:55:45 UTC 2008
Marcin 'Qrczak' Kowalczyk wrote:
> There is a missing feature in dpkg if it does not allow to uninstall a
> package while disabling its scripts in emergency cases, like rpm
> --noscript
P'raps. I find that the problem is really poorly written package scripts
that don't give the slightest hint why they failed (in fact, they usually
try to _hide_ any failure messages by diverting all messages to /dev/null)
and dpkg can't do a thing about those. You really _shouldn't_ be trying to
skip the scripts - they should be fixed, and if you can't wait for the fix
then you should be able to actually go
into /var/lib/dpkg/info/PACKAGE.postinst or .prerm, or whichever, and edit
it.
otoh, if you really want it gone without cleaning up after itself, just
delete the scripts from /var/lib/dpkg/info. But you break it, you've
bought it...
--
derek
More information about the ubuntu-users
mailing list