package fail2ban (not installed) failed to install/upgrade: installed fail2ban package post-installation script subprocess returned error exit status 1

Bug #1944219 reported by dipol
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fail2ban (Ubuntu)
New
Undecided
Unassigned

Bug Description

OS Ubuntu 29.04LTS
Kernel 5.12-19
CPU Intel Core i7-7700K
RAM 32Gb

Install fail2ban service fail:

Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Будут установлены следующие дополнительные пакеты:
  python3-pyinotify whois
Предлагаемые пакеты:
  mailx monit sqlite3 python-pyinotify-doc
Следующие НОВЫЕ пакеты будут установлены:
  fail2ban python3-pyinotify whois
Обновлено 0 пакетов, установлено 3 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 444 kB архивов.
После данной операции объём занятого дискового пространства возрастёт на 2 400 kB.
Пол:1 http://ru.archive.ubuntu.com/ubuntu focal/universe amd64 fail2ban all 0.11.1-1 [375 kB]
Пол:2 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 python3-pyinotify all 0.9.6-1.2ubuntu1 [24,8 kB]
Пол:3 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 whois amd64 5.5.6 [44,7 kB]
Получено 444 kB за 0с (1 043 kB/s)
Выбор ранее не выбранного пакета fail2ban.
(Чтение базы данных … на данный момент установлено 438679 файлов и каталогов.)
Подготовка к распаковке …/fail2ban_0.11.1-1_all.deb …
Распаковывается fail2ban (0.11.1-1) …
Выбор ранее не выбранного пакета python3-pyinotify.
Подготовка к распаковке …/python3-pyinotify_0.9.6-1.2ubuntu1_all.deb …
Распаковывается python3-pyinotify (0.9.6-1.2ubuntu1) …
Выбор ранее не выбранного пакета whois.
Подготовка к распаковке …/archives/whois_5.5.6_amd64.deb …
Распаковывается whois (5.5.6) …
Настраивается пакет whois (5.5.6) …
Настраивается пакет fail2ban (0.11.1-1) …
Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service → /lib/systemd/system/fail2ban.service.
Failed to reload daemon: Время ожидания соединения истекло
Failed to reload daemon: Время ожидания соединения истекло
Failed to retrieve unit state: Время ожидания соединения истекло
Failed to start fail2ban.service: Время ожидания соединения истекло
See system logs and 'systemctl status fail2ban.service' for details.
invoke-rc.d: initscript fail2ban, action "start" failed.
● fail2ban.service - Fail2Ban Service
     Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:fail2ban(1)
dpkg: ошибка при обработке пакета fail2ban (--configure):
 installed fail2ban package post-installation script subprocess returned error exit status 1
Настраивается пакет python3-pyinotify (0.9.6-1.2ubuntu1) …
Обрабатываются триггеры для man-db (2.9.1-1) …
Обрабатываются триггеры для systemd (245.4-4ubuntu3.13) …
При обработке следующих пакетов произошли ошибки:
 fail2ban
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: fail2ban (not installed)
Uname: Linux 5.12.19-ll x86_64
ApportVersion: 2.20.11-0ubuntu27.20
AptOrdering:
 fail2ban:amd64: Install
 python3-pyinotify:amd64: Install
 whois:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Sep 20 18:39:30 2021
ErrorMessage: installed fail2ban package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-08-24 (26 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.6
SourcePackage: fail2ban
Title: package fail2ban (not installed) failed to install/upgrade: installed fail2ban package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dipol (dipol0) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.