unable to install kvm on ubuntu 16.04.02
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-
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.
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-
No apport report written because MaxReports is reached already
Installing new version of config file /etc/init.
Installing new version of config file /etc/init/
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: | added: kvm |
tags: | added: qemu |
Changed in qemu (Ubuntu): | |
assignee: | nobody → vijay g (digvijayg) |
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.