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

Bug #1579518 reported by mamunabms
56
This bug affects 13 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Package libvirt-bin is not installing after upgrading to 16.04 from 15.10

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libvirt-bin (not installed)
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic i686
ApportVersion: 2.20.1-0ubuntu2
AptOrdering:
 libvirt-bin: Configure
 NULL: ConfigurePending
Architecture: i386
Date: Sun May 8 18:54:41 2016
DpkgTerminalLog:
 Setting up libvirt-bin (1.3.1-1ubuntu10) ...
 Job for libvirt-bin.service failed because the control process exited with error code. See "systemctl status libvirt-bin.service" and "journalctl -xe" for details.
 invoke-rc.d: initscript libvirt-bin, action "restart" failed.
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2012-06-02 (1436 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt 1.2.10ubuntu1
SourcePackage: libvirt
Title: package libvirt-bin (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-05-07 (0 days ago)
mtime.conffile..etc.libvirt.qemu.networks.default.xml: 2015-04-28T19:05:14.654201

Revision history for this message
mamunabms (mamunabms) wrote :
Revision history for this message
jason houx (8-jason-e) wrote :
Download full text (3.3 KiB)

I have this same problem after upgrade:

root@office:/home/coldiso# systemctl status libvirt-bin.service
● libvirt-bin.service - Virtualization daemon
   Loaded: loaded (/lib/systemd/system/libvirt-bin.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Wed 2016-09-21 11:42:20 EDT; 5s ago
     Docs: man:libvirtd(8)
           http://libvirt.org
  Process: 2632 ExecStart=/usr/sbin/libvirtd $libvirtd_opts (code=exited, status=6)
 Main PID: 2632 (code=exited, status=6)

Sep 21 11:42:20 office systemd[1]: Failed to start Virtualization daemon.
Sep 21 11:42:20 office systemd[1]: libvirt-bin.service: Unit entered failed state.
Sep 21 11:42:20 office systemd[1]: libvirt-bin.service: Failed with result 'exit-code'.
Sep 21 11:42:20 office systemd[1]: libvirt-bin.service: Service hold-off time over, scheduling restart.
Sep 21 11:42:20 office systemd[1]: Stopped Virtualization daemon.
Sep 21 11:42:20 office systemd[1]: libvirt-bin.service: Start request repeated too quickly.
Sep 21 11:42:20 office systemd[1]: Failed to start Virtualization daemon.

Tried removing:

root@office:/home/coldiso# sudo apt-get remove libvirt-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libvirt-bin
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 10.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 442474 files and directories currently installed.)
Removing libvirt-bin (1.3.1-1ubuntu10.2) ...
Warning: Stopping virtlockd.service, but it can still be activated by:
  virtlockd.socket
Warning: Stopping virtlogd.service, but it can still be activated by:
  virtlogd.socket
Processing triggers for man-db (2.7.5-1) ...

Tried re-installing:

root@office:/home/coldiso# sudo apt-get install libvirt-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  radvd
The following NEW packages will be installed:
  libvirt-bin
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/2,413 kB of archives.
After this operation, 10.9 MB of additional disk space will be used.
Selecting previously unselected package libvirt-bin.
(Reading database ... 442363 files and directories currently installed.)
Preparing to unpack .../libvirt-bin_1.3.1-1ubuntu10.2_amd64.deb ...
Unpacking libvirt-bin (1.3.1-1ubuntu10.2) ...
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.5-1) ...
Setting up libvirt-bin (1.3.1-1ubuntu10.2) ...
Job for libvirt-bin.service failed because the control process exited with error code. See "systemctl status libvirt-bin.service" and "journalctl -xe" for details.
invoke-rc.d: initscript libvirt-bin, action "restart" failed.
dpkg: error processing package libvirt-bin (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libvirt-bin
E: Sub-process /...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libvirt (Ubuntu):
status: New → Confirmed
Changed in libvirt (Ubuntu):
importance: Undecided → High
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.