package libvirt-bin 1.2.8-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
Impact: libvirt package upgrade can fail if user deletes /etc/libvirt/
Test case:
sudo apt-get install libvirt-bin
sudo rm /etc/libvirt/
sudo apt-get install --reinstall libvirt-bin
Regresion potential: none, we only check that the file is present before trying to chown+chmod it.
=======
I ran sudo apt-get update && sudo apt-get upgrade
After that, the differents programs installed ans updated but libvirt-bin can't be configure by dpkg cause /etc/libvirt/
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: libvirt-bin 1.2.8-0ubuntu6
ProcVersionSign
Uname: Linux 3.16.0-18-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
Date: Tue Sep 30 12:11:16 2014
DuplicateSignature: package:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-09-28 (2 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140923)
ProcCmdline: BOOT_IMAGE=
SourcePackage: libvirt
Title: package libvirt-bin 1.2.8-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
tags: | removed: need-duplicate-check |
Changed in libvirt (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in libvirt (Ubuntu Trusty): | |
importance: | Undecided → High |
description: | updated |
no longer affects: | libvirt (Ubuntu Precise) |
Thanks for reporting this bug. Was /etc/libvirt/ qemu.conf not existing on purpose?
Indeed the libvirt- bin.postinst should allow for that file not existing rather than fail package install.