package libvirt-daemon-system 4.0.0-1ubuntu8.1 failed to install/upgrade: installed libvirt-daemon-system package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
virsh hangs, Virtual Machine Manager hangs on connect to qemu, and upgrade failed.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libvirt-
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.1
Architecture: amd64
Date: Sun Jun 10 11:49:32 2018
ErrorMessage: installed libvirt-
InstallationDate: Installed on 2017-02-12 (482 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
SourcePackage: libvirt
Title: package libvirt-
UpgradeStatus: Upgraded to bionic on 2018-05-08 (33 days ago)
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
mtime.conffile.
tags: | removed: need-duplicate-check |
Hi,
the logs don't indicate a lot, I can only see that it failed to restart service libvirtd.
In general if a service fails to start as-is due to any bug/configuration change then an upgrade will fail as it has to restart the service.
The block of virsh/virt-manager just seem like libvirtd being down, witch matches your fail to restart it.
You'd have to check a few thing on your installation independent to the upgrade to ensure it is running fine which usually is then unblocking the upgrade.
1. does a "systemctl restart libvirtd" work (repetively)
2. if it does get more data on why
2a. what does "journalctl -xef" while doing so report
2b. consider enabling libvirtd debugging [1] and check the log
3. try to config your system so that libvirt restarts reliably
4. then re-kick the update of the package
[1]: https:/ /libvirt. org/logging. html