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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
libvirt (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Libvirt has problems
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libvirt-
ProcVersionSign
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-
Enabling libvirt default network
E: Command line option --mode is not understood in combination with the other options
dpkg: error processing package libvirt-
installed libvirt-
ErrorMessage: installed libvirt-
InstallationDate: Installed on 2018-08-07 (126 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcCmdline: BOOT_IMAGE=
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-
UpgradeStatus: No upgrade log present (probably fresh install)
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 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: daemon- system (--configure): daemon- system package post-installation script subprocess returned error exit status 100
E: Command line option --mode is not understood in combination with the other options
dpkg: error processing package libvirt-
installed libvirt-
That is not an error I have seen before. dpkg/info/ libvirt- daemon- system. postinst
The failing script is /var/lib/
The only "--mode" I see in there is on: APP_PROFILE"
install --mode 644 /dev/null "$LOCAL_
Which is added by dh_apparmor (adding apparmor bug task for that).
One such section looks like: PROFILE= "/etc/apparmor. d/local/ usr.lib. libvirt. virt-aa- helper" APP_PROFILE" || { APP_PROFILE" ` APP_PROFILE"
304 LOCAL_APP_
305
306 test -e "$LOCAL_
307 mkdir -p `dirname "$LOCAL_
308 install --mode 644 /dev/null "$LOCAL_
309 }
There is no conditional in between, so this will always be: d/local/ usr.lib. libvirt. virt-aa- helper"
$ install --mode 644 /dev/null "/etc/apparmor.
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.