package bacula-director 7.4.4+dfsg-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
upgraded to 17.04 and started to receive this message
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: bacula-director 7.4.4+dfsg-5
Uname: Linux 4.10.1-
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Sun May 14 10:45:11 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-05-21 (358 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: bacula
Title: package bacula-director 7.4.4+dfsg-5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to zesty on 2017-04-15 (29 days ago)
tags: | removed: need-duplicate-check |
Hi John,
thank you for your report.
From the log: director. service: Failed with result 'exit-code'. director. service: Failed with result 'exit-code'.
May 14 10:30:01 hostname systemd[1]: Failed to start Bacula Director Daemon service.
May 14 10:30:01 hostname systemd[1]: bacula-
[...]
May 14 10:45:11 hostname systemd[1]: Failed to start Bacula Director Daemon service.
May 14 10:45:11 hostname systemd[1]: bacula-
The former could be from your boot (the log isn't long enough to see that for sure). According to DpkgHistoryLog it at least is not from a former try to upgrade.
So the TL;DR on most of this kind of issues is that if you have a service with a broken config (e.g. you experimented with it but it never worked) will fail to upgrade as it requires to restart the service.
If you don't use bacula anyway, apt purge it.
If you do so please get it configured so that it can start - afterwards an upgrade will succeed.