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.
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.