unable to install kvm on ubuntu 16.04.02

Bug #1677194 reported by vijay g
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Incomplete
Undecided
vijay g

Bug Description

image:Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-70-generic x86_64)
cmd:sudo apt-get update && sudo apt-get dist-upgrade -y
error:
update-rc.d: error: insserv rejected the script header
dpkg: error processing package qemu-system-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qemu-system-x86:
 qemu-system-x86 depends on qemu-system-common (>> 2.0.0+dfsg-7~); however:
  Package qemu-system-common is not configured yet.

dpkg: error processing package qemu-system-x86 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-kvm:
 qemu-kvm depends on qemu-system-x86 (= 1:2.5+dfsg-5ubuntu10.9); however:
  Package qemu-system-x86 is not configured yet.

dpkg: error processing package qemu-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    No apport report written because MaxReports is reached already
                                                                                                                  dpkg: dependency problems prevent configuration of python-vm-builder:
 python-vm-builder depends on qemu-kvm | qemu-kvm-extras; however:
  Package qemu-kvm is not configured yet.
  Package qemu-kvm-extras is not installed.

dpkg: error processing package python-vm-builder (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-vm-builder:
 ubuntu-vm-builder depends on python-vm-builder; however:
  Package python-vm-builder is not configured yet.

dpkg: error processing package ubuntu-vm-builder (--configure):
 dependency problems - leaving unconfigured
Setting up libapparmor-perl (2.10.95-0ubuntu2.6) ...
No apport report written because MaxReports is reached already
                                                              Setting up apparmor (2.10.95-0ubuntu2.6) ...
Installing new version of config file /etc/init.d/apparmor ...
Installing new version of config file /etc/init/apparmor.conf ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 qemu-system-common
 qemu-system-x86
 qemu-kvm
 python-vm-builder
 ubuntu-vm-builder
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: kvm qemu
vijay g (digvijayg)
tags: added: kvm
tags: added: qemu
Changed in qemu (Ubuntu):
assignee: nobody → vijay g (digvijayg)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi vijay,
while the report lacks the logs usually auto-added by apport this kind of issues is rather common and likely not specific to qemu.

Also this kind of indicates that way:
"No apport report written because MaxReports is reached already"

What happens is that scripts from 3rd party sources in /etc conflict with what is provided by the Ubuntu Archive. In your logs you should likely find the system complaining about a loop it encountered when trying to set up the init script.

You should look for the scripts reported in that loop, in most of such cases one of the sripts is not from the archive and broken in some sort.

If you think this is a qemu bug, please set back to new and try to provide the logs via apport-bug.

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