package bacula-sd 9.4.2-2ubuntu3 failed to install/upgrade: installed bacula-sd package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Fix Released
|
High
|
Lucas Kanashiro |
Bug Description
sudo apt install bacula-sd
[sudo] password for bennylangston:
Reading package lists... Done
Building dependency tree
Reading state information... Done
bacula-sd is already the newest version (9.4.2-2ubuntu3).
The following packages were automatically installed and are no longer required:
libffi6 libsbc1 linux-modules-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up bacula-sd (9.4.2-2ubuntu3) ...
/var/lib/
dpkg: error processing package bacula-sd (--configure):
installed bacula-sd package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of bacula-bscan:
bacula-bscan depends on bacula-sd (= 9.4.2-2ubuntu3); however:
Package bacula-sd is not configured yet.
dpkg: error processing package bacula-bscan (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
bacula-sd
bacula-bscan
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: bacula-sd 9.4.2-2ubuntu3
ProcVersionSign
Uname: Linux 5.4.0-12-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
Date: Fri Jan 31 08:37:38 2020
ErrorMessage: installed bacula-sd package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2020-01-30 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20191225)
Python3Details: /usr/bin/python3.7, Python 3.7.6, python3-minimal, 3.7.5-1ubuntu1
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu2
apt 1.9.8
SourcePackage: bacula
Title: package bacula-sd 9.4.2-2ubuntu3 failed to install/upgrade: installed bacula-sd package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Bryce Harrington (community): Approve
- Canonical Server MOTU reviewers: Pending requested
-
Diff: 42 lines (+16/-3)2 files modifieddebian/bacula-sd.postinst (+5/-3)
debian/changelog (+11/-0)
Changed in bacula (Ubuntu): | |
status: | In Progress → Fix Committed |
sudo apt autoremove 4.15.0- 1050-oem 4.15.0- 1050-oem (4.15.0-1050.57) ... dpkg/info/ bacula- sd.postinst: 20: cannot create /tmp/bacula- sd.conf. ucf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libffi6 libsbc1 linux-modules-
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 237 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 191721 files and directories currently installed.)
Removing libffi6:amd64 (3.2.1-9) ...
Removing libsbc1:amd64 (1.4-1) ...
Removing linux-modules-
Setting up bacula-sd (9.4.2-2ubuntu3) ...
/var/lib/
tmp-mzPPNjKGZk: Permission denied
dpkg: error processing package bacula-sd (--configure):
installed bacula-sd package post-installation script subprocess returned error
exit status 2
dpkg: dependency problems prevent configuration of bacula-bscan:
bacula-bscan depends on bacula-sd (= 9.4.2-2ubuntu3); however:
Package bacula-sd is not configured yet.
dpkg: error processing package bacula-bscan (--configure):
Processing triggers for libc-bin (2.30-0ubuntu3) ...
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
Errors were encountered while processing:
bacula-sd
bacula-bscan
E: Sub-process /usr/bin/dpkg returned an error code (1)