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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1808044/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to