Re: [bitfolk] Hello and help :)

Top Page
Author: Andy Smith
Date:  
To: users
Subject: Re: [bitfolk] Hello and help :)

Reply to this message
gpg: Signature made Sun Apr 5 19:55:06 2009 UTC using DSA key ID BF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>"
gpg: aka "Andrew James Smith <andy@strugglers.net>"
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>"
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>"
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>"
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>"
Hi Ian,

On Sun, Apr 05, 2009 at 08:22:56PM +0100, Ian Lovingboth wrote:
> Yesterday, I downloaded Bastille from the Debian 5 / Lenny
> repositories, but it will not install on Debian 5.
>
> This is a known bug (see
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510884) - and is even
> marked as 'fixed' - but it has left my packages in a twist.
>
> If I try to uninstall it, I get this
>
> semi-divine:~# dpkg -r bastille
> (Reading database ... 37260 files and directories currently installed.)
> Removing bastille ...
> Stopping Bastille firewall..ERROR: no reject method specified
> (corrupt config file?) Exiting!
> FAILED.
> invoke-rc.d: initscript bastille-firewall, action "stop" failed.
> dpkg: error processing bastille (--remove):
> subprocess pre-removal script returned error exit status 1


Okay so a prerm script failed and this is preventing you removing
the package.

Generally in these cases I take a look in /var/lib/dpkg/info/ for a
prerm script matching the package, see what it wants to do, and make
it so that it works.

That modification may take the form of putting files where it
expects them or editing the prerm script to do something different,
or even just deleting the prerm script entirely.

The point is, once you make that script exit successfully (or never
run at all), you can make progress.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB