It not a joke!!! It is the truth!!!

Giving people what they want: violence and sloppy eating

Previous Entry Share Next Entry
Debian package problem..
mini me + poo
lovingboth
.. or why it'd be nice if Ian Jackson read this :)

Today, I downloaded Bastille from the Debian 5 / Lenny repositories, but it will not install on Debian 5!

This is a known bug (see here) - 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
Starting Bastille firewall..ERROR: no reject method specified (corrupt config file?) Exiting!
FAILED.
invoke-rc.d: initscript bastille-firewall, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bastille


.. even if I try forcing it.

OK, let's try downloading the updated version (the one which should have been there in the first place - how on earth did this one get past testing??) and see about installing that over the top:

semi-divine:~# dpkg -i bastille_3.0.9-9_all.deb
Selecting previously deselected package bastille.
(Reading database ... 37221 files and directories currently installed.)
Preparing to replace bastille 1:2.1.1-19 (using bastille_3.0.9-9_all.deb) ...
Unpacking replacement bastille ...
Setting up bastille (1:3.0.9-9) ...
Installing new version of config file /etc/init.d/bastille-firewall ...
Starting Bastille firewall..ERROR: no reject method specified (corrupt config file?) Exiting!
FAILED.
invoke-rc.d: initscript bastille-firewall, action "start" failed.
dpkg: error processing bastille (--install):
subprocess post-installation script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
bastille


So I currently can't uninstall it or reinstall it. Grrr.

What should I do next, Debian experts?

  • 1
Friends-locking this post is not the way to get someone who reads LJ sporadically but refuses to get an account to respond to your concerns.

(It installs perfectly on Ubuntu hardy -- not that I wished to install it, you understand, I just thought I'd try to see ...)

Ooops, friends-locked is my default. It's public now. The comment about Ian was more in amusement at myself that when I first met him, I had no idea he was so famous.

One of the reasons this is annoying is that in about a decade of using it for a server, this is only the second time Debian has done this sort of thing to me and the first was my fault (letting Webmin upgrade itself, rather than using a .deb file).

I'm about to go round to his house, I could mention it...

At the moment I am pondering having the server reinstalled from the basic image - it's not a good idea to leave things in a twist - so any help that would mean not having to do that would be welcome.

  • 1
?

Log in

No account? Create an account