Hi and thanks for your report,
this does not have the complete logs, so I might struggle to see the root
cause, lets try.
The interesting lines I see int he bug are:
E: Command line option --mode is not understood in combination with the other
options
dpkg: error processing package libvirt-daemon-system (--configure):
installed libvirt-daemon-system package post-installation script subprocess
returned error exit status 100
That is not an error I have seen before.
The failing script is /var/lib/dpkg/info/libvirt-daemon-system.postinst
The only "--mode" I see in there is on:
install --mode 644 /dev/null "$LOCAL_APP_PROFILE"
Which is added by dh_apparmor (adding apparmor bug task for that).
One such section looks like:
304
LOCAL_APP_PROFILE="/etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper"
305
306 test -e "$LOCAL_APP_PROFILE" || {
307 mkdir -p `dirname "$LOCAL_APP_PROFILE"`
308 install --mode 644 /dev/null "$LOCAL_APP_PROFILE"
309 }
There is no conditional in between, so this will always be:
$ install --mode 644 /dev/null
"/etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper"
I don't see where that would fail.
Maybe the apparmor developers know a bit more about this, for libvirt
I'd not know where to continue on this.
** Also affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Changed in: libvirt (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1808044
Title:
package libvirt-daemon-system 4.0.0-1ubuntu8.5 failed to
install/upgrade: installed libvirt-daemon-system package post-
installation script subprocess returned error exit status 100
Status in apparmor package in Ubuntu:
New
Status in libvirt package in Ubuntu:
Incomplete
Bug description:
Libvirt has problems
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libvirt-daemon-system 4.0.0-1ubuntu8.5
ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
Uname: Linux 4.15.0-38-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
AptOrdering: NULL: ConfigurePending
Architecture: amd64
Date: Mon Dec 10 17:21:06 2018
DpkgHistoryLog:
Start-Date: 2018-12-10 17:21:05
Commandline: apt-get install -y macchanger
Requested-By: elysium (1000)
DpkgTerminalLog:
Setting up libvirt-daemon-system (4.0.0-1ubuntu8.5) ...
Enabling libvirt default network
E: Command line option --mode is not understood in combination with the
other options
dpkg: error processing package libvirt-daemon-system (--configure):
installed libvirt-daemon-system package post-installation script subprocess
returned error exit status 100
ErrorMessage: installed libvirt-daemon-system package post-installation
script subprocess returned error exit status 100
InstallationDate: Installed on 2018-08-07 (126 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
(20180725)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-38-generic
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal,
3.6.5-3ubuntu1
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.5 failed to
install/upgrade: installed libvirt-daemon-system package post-installation
script subprocess returned error exit status 100
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.libvirt.nwfilter.allow-arp.xml: 2018-08-12T14:11:26.664244
mtime.conffile..etc.libvirt.nwfilter.allow-dhcp-server.xml:
2018-08-12T14:11:26.648244
mtime.conffile..etc.libvirt.nwfilter.allow-dhcp.xml:
2018-08-12T14:11:26.684243
mtime.conffile..etc.libvirt.nwfilter.allow-incoming-ipv4.xml:
2018-08-12T14:11:26.672244
mtime.conffile..etc.libvirt.nwfilter.allow-ipv4.xml:
2018-08-12T14:11:26.572246
mtime.conffile..etc.libvirt.nwfilter.clean-traffic.xml:
2018-08-12T14:11:26.616245
mtime.conffile..etc.libvirt.nwfilter.no-arp-ip-spoofing.xml:
2018-08-12T14:11:26.632245
mtime.conffile..etc.libvirt.nwfilter.no-arp-mac-spoofing.xml:
2018-08-12T14:11:26.608245
mtime.conffile..etc.libvirt.nwfilter.no-arp-spoofing.xml:
2018-08-12T14:11:26.572246
mtime.conffile..etc.libvirt.nwfilter.no-ip-multicast.xml:
2018-08-12T14:11:26.624245
mtime.conffile..etc.libvirt.nwfilter.no-ip-spoofing.xml:
2018-08-12T14:11:26.580246
mtime.conffile..etc.libvirt.nwfilter.no-mac-broadcast.xml:
2018-08-12T14:11:26.656244
mtime.conffile..etc.libvirt.nwfilter.no-mac-spoofing.xml:
2018-08-12T14:11:26.588246
mtime.conffile..etc.libvirt.nwfilter.no-other-l2-traffic.xml:
2018-08-12T14:11:26.700243
mtime.conffile..etc.libvirt.nwfilter.no-other-rarp-traffic.xml:
2018-08-12T14:11:26.692243
mtime.conffile..etc.libvirt.nwfilter.qemu-announce-self-rarp.xml:
2018-08-12T14:11:26.600245
mtime.conffile..etc.libvirt.nwfilter.qemu-announce-self.xml:
2018-08-12T14:11:26.640244
mtime.conffile..etc.libvirt.qemu.networks.default.xml:
2018-09-06T19:21:26.035089
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1808044/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp