Fix problem with qemu-kvm dependencies in nova-libvirt container
Package quem-kvm depends on qemu-system-x86 that depends on libgtk-3-0 and libvte-2.91-0 that are provided by testing and jessie repositories and don't exist in jessie-backports, so we decided to switch to testing repo with installation of qemu-kvm and pin version of it Change-Id: I9f08c3be522d0fa5ca5dfee1f18029c379e670e9
This commit is contained in:
parent
8feb3b5045
commit
a179dfeb50
|
@ -2,12 +2,13 @@ FROM {{ image_spec("nova-base") }}
|
|||
MAINTAINER {{ maintainer }}
|
||||
|
||||
COPY {{ render('sources.list.debian.j2') }} /etc/apt/sources.list.d/testing.list
|
||||
COPY apt_preferences.debian /etc/apt/preferences
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install -t jessie-backports --no-install-recommends \
|
||||
&& apt-get -y install -t testing --no-install-recommends \
|
||||
qemu-kvm \
|
||||
qemu-block-extra \
|
||||
&& apt-get -y install libvirt-daemon -t testing --no-install-recommends \
|
||||
libvirt-daemon \
|
||||
libvirt-bin \
|
||||
&& apt-get -y install --no-install-recommends \
|
||||
ceph-common \
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Package: qemu-kvm
|
||||
Pin: release a=testing
|
||||
Pin: version 2.8+dfsg-1
|
||||
Pin-Priority: 500
|
Loading…
Reference in New Issue