Public bug reported:

me@ubuntuionic:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
me@ubuntuionic:~$ sudo apt-get install ipxe-qemu libvirt-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ipxe-qemu-256k-compat-efi-roms libvirt-daemon-driver-storage-rbd 
qemu-block-extra qemu-kvm qemu-system-common qemu-system-x86 qemu-utils seabios
Suggested packages:
  libvirt-daemon-driver-storage-gluster libvirt-daemon-driver-storage-sheepdog 
libvirt-daemon-driver-storage-zfs libvirt-daemon-system sgabios
The following NEW packages will be installed:
  ipxe-qemu ipxe-qemu-256k-compat-efi-roms libvirt-daemon 
libvirt-daemon-driver-storage-rbd qemu-block-extra qemu-kvm qemu-system-common 
qemu-system-x86 qemu-utils
  seabios
0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
Need to get 1022 kB/11.1 MB of archives.
After this operation, 48.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ar.archive.ubuntu.com/ubuntu bionic/main amd64 
ipxe-qemu-256k-compat-efi-roms all 1.0.0+git-20150424.a25a16d-0ubuntu2 [545 kB]
Get:2 http://ppa.launchpad.net/jacob/virtualisation/ubuntu bionic/main amd64 
qemu-block-extra amd64 1:2.12+dfsg-0~18.04~ppa0 [135 kB]
Get:3 http://ppa.launchpad.net/jacob/virtualisation/ubuntu bionic/main amd64 
libvirt-daemon-driver-storage-rbd amd64 4.7.0-0~18.04~ppa1 [134 kB]
Get:4 http://ar.archive.ubuntu.com/ubuntu bionic/main amd64 seabios all 
1.10.2-1ubuntu1 [128 kB]
Get:5 http://ppa.launchpad.net/jacob/virtualisation/ubuntu bionic/main amd64 
qemu-kvm amd64 1:2.12+dfsg-0~18.04~ppa0 [80.1 kB]
Fetched 1022 kB in 4s (260 kB/s)
Selecting previously unselected package qemu-block-extra:amd64.
(Reading database ... 226228 files and directories currently installed.)
Preparing to unpack .../0-qemu-block-extra_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb 
...
Unpacking qemu-block-extra:amd64 (1:2.12+dfsg-0~18.04~ppa0) ...
Preparing to unpack 
.../1-qemu-system-common_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb ...
Unpacking qemu-system-common (1:2.12+dfsg-0~18.04~ppa0) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-2F9Ty9/1-qemu-system-common_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb
 (--unpack):
 trying to overwrite '/usr/bin/virtfs-proxy-helper', which is also in package 
qemu-4.2.0 4.2.0-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack 
.../2-ipxe-qemu_1.0.0+git-20180124.fbe8c52d-0ubuntu2.2_all.deb ...
Unpacking ipxe-qemu (1.0.0+git-20180124.fbe8c52d-0ubuntu2.2) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-2F9Ty9/2-ipxe-qemu_1.0.0+git-20180124.fbe8c52d-0ubuntu2.2_all.deb
 (--unpack):
 trying to overwrite '/usr/share/qemu/pxe-e1000.rom', which is also in package 
qemu-4.2.0 4.2.0-1
Selecting previously unselected package ipxe-qemu-256k-compat-efi-roms.
Preparing to unpack 
.../3-ipxe-qemu-256k-compat-efi-roms_1.0.0+git-20150424.a25a16d-0ubuntu2_all.deb
 ...
Unpacking ipxe-qemu-256k-compat-efi-roms (1.0.0+git-20150424.a25a16d-0ubuntu2) 
...
Preparing to unpack .../4-libvirt-daemon_4.7.0-0~18.04~ppa1_amd64.deb ...
Unpacking libvirt-daemon (4.7.0-0~18.04~ppa1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-2F9Ty9/4-libvirt-daemon_4.7.0-0~18.04~ppa1_amd64.deb 
(--unpack):
 trying to overwrite '/usr/sbin/libvirtd', which is also in package 
libvirt-6.0.0 0-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package libvirt-daemon-driver-storage-rbd.
Preparing to unpack 
.../5-libvirt-daemon-driver-storage-rbd_4.7.0-0~18.04~ppa1_amd64.deb ...
Unpacking libvirt-daemon-driver-storage-rbd (4.7.0-0~18.04~ppa1) ...
Selecting previously unselected package seabios.
Preparing to unpack .../6-seabios_1.10.2-1ubuntu1_all.deb ...
Unpacking seabios (1.10.2-1ubuntu1) ...
Preparing to unpack .../7-qemu-system-x86_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb 
...
Unpacking qemu-system-x86 (1:2.12+dfsg-0~18.04~ppa0) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-2F9Ty9/7-qemu-system-x86_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb
 (--unpack):
 trying to overwrite '/usr/bin/qemu-system-i386', which is also in package 
qemu-4.2.0 4.2.0-1
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: 
paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package qemu-kvm.
Preparing to unpack .../8-qemu-kvm_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb ...
Unpacking qemu-kvm (1:2.12+dfsg-0~18.04~ppa0) ...
Preparing to unpack .../9-qemu-utils_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb ...
Unpacking qemu-utils (1:2.12+dfsg-0~18.04~ppa0) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-2F9Ty9/9-qemu-utils_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb 
(--unpack):
 trying to overwrite '/usr/bin/ivshmem-client', which is also in package 
qemu-4.2.0 4.2.0-1
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: 
paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 
/tmp/apt-dpkg-install-2F9Ty9/1-qemu-system-common_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb
 
/tmp/apt-dpkg-install-2F9Ty9/2-ipxe-qemu_1.0.0+git-20180124.fbe8c52d-0ubuntu2.2_all.deb
 /tmp/apt-dpkg-install-2F9Ty9/4-libvirt-daemon_4.7.0-0~18.04~ppa1_amd64.deb
 
/tmp/apt-dpkg-install-2F9Ty9/7-qemu-system-x86_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb
 /tmp/apt-dpkg-install-2F9Ty9/9-qemu-utils_1%3a2.12+dfsg-0~18.04~ppa0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
me@ubuntuionic:~$ sudo apt-get install ipxe-qemu libvirt-daemon 


The fix was to force it:
sudo apt-get -o Dpkg::Options::="--force-overwrite" install ipxe-qemu 
libvirt-daemon

$ apt list | grep -E -e 
"(ipxe-qemu|libvirt-daemon|libvirt-daemon-system|qemu-system-common|qemu-system-x86|qemu-utils)"
ipxe-qemu/bionic-updates,now 1.0.0+git-20180124.fbe8c52d-0ubuntu2.2 all 
[installed]
ipxe-qemu-256k-compat-efi-roms/bionic,now 1.0.0+git-20150424.a25a16d-0ubuntu2 
all [installed,automatic]
libvirt-daemon/bionic,now 4.7.0-0~18.04~ppa1 amd64 [installed]
libvirt-daemon-driver-storage-gluster/bionic 4.7.0-0~18.04~ppa1 amd64
libvirt-daemon-driver-storage-rbd/bionic,now 4.7.0-0~18.04~ppa1 amd64 
[installed,automatic]
libvirt-daemon-driver-storage-sheepdog/bionic 4.7.0-0~18.04~ppa1 amd64
libvirt-daemon-driver-storage-zfs/bionic 4.7.0-0~18.04~ppa1 amd64
libvirt-daemon-system/bionic 4.7.0-0~18.04~ppa1 amd64
qemu-system-common/bionic,now 1:2.12+dfsg-0~18.04~ppa0 amd64 
[installed,automatic]
qemu-system-x86/bionic,now 1:2.12+dfsg-0~18.04~ppa0 amd64 [installed,automatic]
qemu-utils/bionic,now 1:2.12+dfsg-0~18.04~ppa0 amd64 [installed,automatic]


$ lsb_release -rd
Description:    Ubuntu 18.04.4 LTS
Release:        18.04

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: package-conflict qemu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883778

Title:
  Broken pipe: qemu-system-common conflicts with qemu

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

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

Reply via email to