<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5949&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] after upgrade from chimaera to daedalus fail2ban package is broken]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5949</link>
		<description><![CDATA[The most recent posts in [SOLVED] after upgrade from chimaera to daedalus fail2ban package is broken.]]></description>
		<lastBuildDate>Sun, 03 Sep 2023 19:07:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] after upgrade from chimaera to daedalus fail2ban package is broken]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44046#p44046</link>
			<description><![CDATA[<p>@chris2be8<br />I made an attempt to reinstall fail2ban on top of the still existing conf files. </p><div class="codebox"><pre><code>apt install fail2ban</code></pre></div><p>This failed and the system was borked as before. <br />now I looked for the /var/lib/dpkg/info/fail2ban.prerm script <br />changed the exit value to 0</p><div class="codebox"><pre><code>dpkg --remove --force-remove-reinstreq fail2ban
(Reading database... 103543 files and directories are currently installed.)
Removing fail2ban (1.0.2-2)...
Stopping authentication failure monitor: fail2ban failed!
invoke-rc.d: initscript fail2ban, action stop failed.
Processing triggers for man-db (2.11.2-2)...
root@$HOSTNAME /var/lib/dpkg/info # dpkg --remove --force-remove-reinstreq fail2ban
dpkg: warning: request to delete fail2ban will be ignored, of which only the
  conf files are on the system; use --purge to purge them
root@$HOSTNAME /var/lib/dpkg/info # dpkg --purge fail2ban
(Reading database... 103272 files and directories are currently installed.)
Deleting fail2ban (1.0.2-2) configuration files...
dpkg: warning: while removing fail2ban, directory &#039;/usr/lib/python3/dist-packages/fail2ban/tests/files/config/apache-auth&#039; is not empty, so will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/usr/lib/python3/dist-packages/fail2ban/tests/files/action.d&#039; is not empty, so it will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/usr/lib/python3/dist-packages/fail2ban/tests/action_d&#039; is not empty, so will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/usr/lib/python3/dist-packages/fail2ban/server&#039; is not empty, so will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/usr/lib/python3/dist-packages/fail2ban/client&#039; is not empty, so will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/etc/fail2ban/jail.d&#039; is not empty, so will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/etc/fail2ban/filter.d&#039; is not empty, so will not be deleted
dpkg: warning: while removing fail2ban, directory &#039;/etc/fail2ban/action.d&#039; is not empty, so will not be deleted
root@$HOSTNAME /var/lib/dpkg/info # rm -rf /etc/fail2ban
root@$HOSTNAME /var/lib/dpkg/info # rm -rf /usr/lib/python3/dist-packages/fail2ban</code></pre></div><p>So Your advice worked. Thx<br />Finally got rid of the darn package which caused the highest load in the system.<br />I will do another thing to protect the server&#160; .</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sun, 03 Sep 2023 19:07:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44046#p44046</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] after upgrade from chimaera to daedalus fail2ban package is broken]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44023#p44023</link>
			<description><![CDATA[<p>My first thought would be to patch the fail2ban initscript to always return success. Eg put <span class="bbc">exit 0</span> near the start of it.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sat, 02 Sep 2023 16:24:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44023#p44023</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] after upgrade from chimaera to daedalus fail2ban package is broken]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44022#p44022</link>
			<description><![CDATA[<p>This fixed it<br /><a href="https://www.f1-consult.com/linux/debian/how-to-delete-broken-packages/" rel="nofollow">https://www.f1-consult.com/linux/debian … -packages/</a></p><p>Attention turn the music off!&#160; This is the last thing, I need, if I have to fix a problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sat, 02 Sep 2023 15:46:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44022#p44022</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] after upgrade from chimaera to daedalus fail2ban package is broken]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44020#p44020</link>
			<description><![CDATA[<p>Hi I had a rather smooth update/upgrade/dist-upgrade from chimaera to daedalus this night.</p><p>One package did not make it : fail2ban is now in a state where it cannot be removed, purged nor reinstalled </p><div class="codebox"><pre><code>dpkg --force-conflicts --remove fail2ban &gt; fail2ban_errors 2&gt;&amp;1</code></pre></div><div class="codebox"><pre><code>cat fail2ban_errors
(Reading database ... 73048 files and directories currently installed.)
Removing fail2ban (1.0.2-2) ...
Stopping Authentication failure monitor: fail2ban failed!
invoke-rc.d: initscript fail2ban, action &quot;stop&quot; failed.
dpkg: error processing package fail2ban (--remove):
 installed fail2ban package pre-removal script subprocess returned error exit status 1
Starting Authentication failure monitor: fail2ban2023-09-02 14:21:41,881 fail2ban.configreader   [13051]: WARNING &#039;allowipv6&#039; not defined in &#039;Definition&#039;. Using default one: &#039;auto&#039;
2023-09-02 14:21:42,070 fail2ban                [13051]: ERROR   Failed during configuration: Bad value substitution: option &#039;ignorecommand&#039; in section &#039;apache-fakegooglebot&#039; contains an interpolation key &#039;ignorecommands_dir&#039; which is not a valid option name. Raw value: &#039;%(ignorecommands_dir)s/apache-fakegooglebot &lt;ip&gt;&#039;
 failed!
invoke-rc.d: initscript fail2ban, action &quot;start&quot; failed.
dpkg: error while cleaning up:
 installed fail2ban package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 fail2ban</code></pre></div><div class="codebox"><pre><code>action &quot;stop&quot; failed.</code></pre></div><p>This action must fail, because the fail2ban is not running from the beginning. <br />Stopping a not running process must not produce an error, because the wished result is already achieved. (initscripts?)</p><p>why does the removal procedure try to start the app ? </p><div class="codebox"><pre><code>dpkg --force-remove-reinstreq --remove fail2ban </code></pre></div><p>&#160; same result</p><div class="codebox"><pre><code>locate fakegooglebot | grep -E &quot;^/etc&quot;
/etc/fail2ban/filter.d/apache-fakegooglebot.conf
/etc/fail2ban/filter.d/ignorecommands/apache-fakegooglebot</code></pre></div><p>Nothing which I understand</p><p>Now I am lost, because this hinders other install activities . Each time dpkg is called, this errors show up, of course multiple times.</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sat, 02 Sep 2023 12:54:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44020#p44020</guid>
		</item>
	</channel>
</rss>
