Ask Your Question
0

Unable to build nova-libvirt image

asked 2018-02-27 06:39:29 -0500

akarki gravatar image

updated 2018-02-27 07:06:03 -0500

Hi,

I am unable to build nova-libvirt image while installing Openstack via kolla (stable/pike).Following is the error I am getting:

Unable to correct problems, you have held broken packages. INFO:kolla.image.build.nova-libvirt ERROR:kolla.image.build.nova-libvirt:The command '/bin/sh -c apt-get update && apt-get -y install --no-install-recommends ceph-common ebtables libvirt-clients libvirt-daemon-system openvswitch-switch pm-utils qemu qemu-block-extra dmidecode xen-utils-4.6 xen-utils-4.6 && apt-get clean' returned a non-zero code: 100

When I run the above command,it gives the error shown below:

()[root@1884f55f1c9f /]# apt-get -y install --no-install-recommends ceph-common ebtables libvirt-clients libvirt-daemon-system openvswitch-switch pm-utils qemu qemu-block-extra dmidecode xen-utils-4.6 xen-utils-4.6 && apt-get clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ebtables is already the newest version (2.0.10.4-3.4ubuntu2).
libvirt-clients is already the newest version (3.6.0-1ubuntu6.2~cloud0).
openvswitch-switch is already the newest version (2.8.1-0ubuntu0.17.10.2~cloud0).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libvirt-daemon-system : Depends: libvirt-daemon (= 3.6.0-1ubuntu6.2~cloud0)

Please help.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-02-28 05:36:32 -0500

Rupesh Chowdary gravatar image

Remove the current libvirt packages and try to reinstall the libvirt* packages forcefully.

apt-get -f install libvirt*

edit flag offensive delete link more
0

answered 2018-02-27 23:09:51 -0500

Deepa gravatar image

In which OS version you are trying to install .

Also try to do as below

sudo apt-get -f install

sudo apt-get update && apt-get dist-upgrade

sudo apt-get install qemu-kvm libvirt-bin

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-02-27 06:39:29 -0500

Seen: 190 times

Last updated: Feb 28 '18