Ian (lovingboth) wrote,
Ian
lovingboth

  • Mood:

Debian package problem..

.. 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?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 4 comments