package fail2ban 0.10.2-2 failed to install/upgrade: installed fail2ban package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fail2ban (Debian) |
Fix Released
|
Unknown
|
|||
fail2ban (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
fail2ban fails to install with the error
Setting up fail2ban (0.10.2-2) ...
File "/usr/lib/
def configureServer
SyntaxError: invalid syntax
File "/usr/lib/
async = self._conf.
^
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
ProcVersionSign
Uname: Linux 4.18.0-7-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
AptOrdering:
fail2ban:amd64: Install
python3-
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)
PackageArchitec
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
RelatedPackageV
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)
Changed in fail2ban (Debian): | |
status: | Unknown → Fix Released |
tags: | removed: cosmic |
Changed in fail2ban (Ubuntu): | |
status: | New → Incomplete |
async became a keyword in python 3.7. This looks like the upstream fix:
https:/ /github. com/fail2ban/ fail2ban/ commit/ ac9d5f61e7e9151 f7518c26db192dd 6d0bf56591