Public bug reported: fail2ban fails to install with the error
Setting up fail2ban (0.10.2-2) ... File "/usr/lib/python3/dist-packages/fail2ban/client/fail2banclient.py", line 231 def configureServer(self, async=True, phase=None): ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/fail2ban/client/fail2banserver.py", line 173 async = self._conf.get("async", False) ^ SyntaxError: invalid syntax dpkg: error processing package fail2ban (--configure): installed fail2ban package post-installation script subprocess returned error exit status 1 ProblemType: Package DistroRelease: Ubuntu 18.10 Package: fail2ban 0.10.2-2 ProcVersionSignature: Ubuntu 4.18.0-7.8-generic 4.18.5 Uname: Linux 4.18.0-7-generic x86_64 ApportVersion: 2.20.10-0ubuntu11 AptOrdering: fail2ban:amd64: Install python3-pyinotify:amd64: Install whois:amd64: Install NULL: ConfigurePending Architecture: amd64 Date: Tue Sep 25 13:02:03 2018 ErrorMessage: installed fail2ban package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2018-07-04 (82 days ago) InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) PackageArchitecture: all Python3Details: /usr/bin/python3.6, Python 3.6.6+, python3-minimal, 3.6.6-1 PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15-3 RelatedPackageVersions: dpkg 1.19.0.5ubuntu5 apt 1.7.0~rc2 SourcePackage: fail2ban Title: package fail2ban 0.10.2-2 failed to install/upgrade: installed fail2ban package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to cosmic on 2018-09-10 (14 days ago) ** Affects: fail2ban (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package cosmic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1794281 Title: package fail2ban 0.10.2-2 failed to install/upgrade: installed fail2ban package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/1794281/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs