package libvirt-daemon-system 4.0.0-1ubuntu8 failed to install/upgrade: installed libvirt-daemon-system package post-installation script subprocess returned error exit status 1

Bug #1767134 reported by guerin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

libvirt-daemon-system won't install

with synaptic reinstall :

E: Internal Error, No file name for libvirt-daemon-system:amd64

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libvirt-daemon-system 4.0.0-1ubuntu8
Uname: Linux 4.15.10-041510-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
 libdb5.3:amd64: Install
 libdb5.3:i386: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Thu Apr 26 16:28:59 2018
DpkgHistoryLog:
 Start-Date: 2018-04-26 16:28:16
 Commandline: apt --fix-broken install
 Requested-By: freeman (1000)
 Upgrade: libdb5.3:amd64 (5.3.28-13.1, 5.3.28-13.1ubuntu1), libdb5.3:i386 (5.3.28-13.1, 5.3.28-13.1ubuntu1)
ErrorMessage: installed libvirt-daemon-system package post-installation script subprocess returned error exit status 1
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.10-041510-generic root=UUID=52e4ec41-a18e-49df-ba96-7d2019fb3a3a ro quiet splash vt.handoff=1
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-daemon-system 4.0.0-1ubuntu8 failed to install/upgrade: installed libvirt-daemon-system package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.libvirt.nwfilter.allow-arp.xml: 2018-02-07T20:58:38.798514
mtime.conffile..etc.libvirt.nwfilter.allow-dhcp-server.xml: 2018-02-07T20:58:38.814514
mtime.conffile..etc.libvirt.nwfilter.allow-dhcp.xml: 2018-02-07T20:58:38.830513
mtime.conffile..etc.libvirt.nwfilter.allow-incoming-ipv4.xml: 2018-02-07T20:58:38.810514
mtime.conffile..etc.libvirt.nwfilter.allow-ipv4.xml: 2018-02-07T20:58:38.818513
mtime.conffile..etc.libvirt.nwfilter.clean-traffic.xml: 2018-02-07T20:58:38.834512
mtime.conffile..etc.libvirt.nwfilter.no-arp-ip-spoofing.xml: 2018-02-07T20:58:38.798514
mtime.conffile..etc.libvirt.nwfilter.no-arp-mac-spoofing.xml: 2018-02-07T20:58:38.786515
mtime.conffile..etc.libvirt.nwfilter.no-arp-spoofing.xml: 2018-02-07T20:58:38.850512
mtime.conffile..etc.libvirt.nwfilter.no-ip-multicast.xml: 2018-02-07T20:58:38.802514
mtime.conffile..etc.libvirt.nwfilter.no-ip-spoofing.xml: 2018-02-07T20:58:38.786515
mtime.conffile..etc.libvirt.nwfilter.no-mac-broadcast.xml: 2018-02-07T20:58:38.846512
mtime.conffile..etc.libvirt.nwfilter.no-mac-spoofing.xml: 2018-02-07T20:58:38.806514
mtime.conffile..etc.libvirt.nwfilter.no-other-l2-traffic.xml: 2018-02-07T20:58:38.822513
mtime.conffile..etc.libvirt.nwfilter.no-other-rarp-traffic.xml: 2018-02-07T20:58:38.778516
mtime.conffile..etc.libvirt.nwfilter.qemu-announce-self-rarp.xml: 2018-02-07T20:58:38.838512
mtime.conffile..etc.libvirt.nwfilter.qemu-announce-self.xml: 2018-02-07T20:58:38.794515
mtime.conffile..etc.libvirt.qemu.networks.default.xml: 2018-02-07T20:58:38.150549

Revision history for this message
guerin (valereguerin) wrote :
Revision history for this message
guerin (valereguerin) wrote :

just purge hold libs first before install update/upgrade (i used update-manager !)

sudo apt autoclean
sudo apt clean
sudo apt autoremove --purge

with update manager you have the problem with command line not if you purge hold lib. & .config first

if problem with lvm2 (like me...) or with libvirt-daemon-system uninstall "packets errors" purge clean autoclean autoremove and reinstall them again
no error now

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Interesting.
I'm glad you resolved it on your own, but lets try to understand what happened if we can still do that after the cleanup.

Touch erroring with "does not exist" means the path is gone.
But this dir is part of package libvirt-daemon-system and if not removed should always be there.

In general two questions would arise.
1. did you get it resolved with purge/reinstall (I'd think that should work, but obviously purge is too hard for some)
2. please check if /var/log/libvirt/qemu/ exists and is owned
   $ ls -laF /var/log/libvirt/qemu
   $ dpkg -S /var/log/libvirt/qemu
   If the above is good I'd wonder why it breaks, maybe permissions on that dir tree changed?

I see above you already did #1, but if you have checked some data for #2 before you did so I'd still be interested to understand what was going on if you have e.g. the console output still.

Setting incomplete until I hear back from you.

Changed in libvirt (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.]

Changed in libvirt (Ubuntu):
status: Incomplete → Expired
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.