[alug] How to nuke a Debian package?

Aquarius aquarius at kryogenix.albatross.co.uk
Tue Feb 29 21:25:33 GMT 2000

On Tue, Feb 29, 2000 at 07:42:01PM +0000, wbh wrote:
> Hi.
>     I've got a broken Debian package:
>         dpkg --purge giram-mesa
> 		(Reading database ... 80208 files and directories currently installed.)
> 		Removing giram-mesa ...
> 		/usr/share/doc/giram-mesa/Tutorial: No such file or directory
> 		dpkg: error processing giram-mesa (--purge):
> 		 subprocess pre-removal script returned error exit status 1
> 		Errors were encountered while processing:
> 		 giram-mesa
> So, what's the "nuke the *&@$" option for dpkg???

Your best bet is to edit /var/lib/spkg/info/giram-mesa.prerm and take out
a -e in the first line (or remove a "set -e" in the script somewhere),
which will stop it stopping on errors, meaning that it will merrily
plough on even if the world ends :-)

Alternatively, touching /usr/share/doc/giram-mesa/Tutorial might be


"And how do you measure madness? Not with rods and wheels and clocks,
    -- The Joker, Arkham Asylum

[ This email came to you via the Anglian Linux User Group list ]
[  If you only wish to recieve event announcements, email the  ]
[ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ]
[ to listserver at stu.uea.ac.uk -- We do need your support, tho' ]

More information about the main mailing list