error after 3.4 to 4.2 upgrade

valthonis

New Member
Jun 13, 2016
1
0
1
35
Hello,

I'm running into an error after upgrading from Wheezy to Jessie and attempting to install proxmox-ve.

Basically, I can't get pve-qemu-kvm to install :/

Code:
root@prox1:~# pveversion -v
proxmox-ve: not correctly installed (running kernel: 4.4.8-1-pve)
pve-manager: not correctly installed (running version: 4.2-11/2c626aa1)
pve-kernel-4.4.8-1-pve: 4.4.8-52
pve-kernel-2.6.32-29-pve: 2.6.32-126
pve-kernel-2.6.32-46-pve: 2.6.32-175
lvm2: 2.02.116-pve2
corosync-pve: not correctly installed
libqb0: 1.0-1
pve-cluster: not correctly installed
qemu-server: not correctly installed
pve-firmware: 1.1-8
libpve-common-perl: 4.0-67
libpve-access-control: not correctly installed
libpve-storage-perl: not correctly installed
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: not correctly installed
pve-container: not correctly installed
pve-firewall: not correctly installed
pve-ha-manager: not correctly installed
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: not correctly installed
lxcfs: not correctly installed
cgmanager: 0.39-pve1
criu: not correctly installed

Code:
root@prox1:~# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree     
Reading state information... Done
proxmox-ve is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
proxmox-ve : Depends: pve-qemu-kvm but it is not going to be installed
qemu-server : Depends: pve-qemu-kvm (>= 2.2-1) but it is not going to be installed
spiceterm : Depends: pve-qemu-kvm but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Code:
root@prox1:~# apt-get -f install
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libipset2 libnl1 libunwind7 python-suds
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  pve-qemu-kvm
The following NEW packages will be installed:
  pve-qemu-kvm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
37 not fully installed or removed.
Need to get 0 B/5,212 kB of archives.
After this operation, 17.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 47888 files and directories currently installed.)
Preparing to unpack .../pve-qemu-kvm_2.5-19_amd64.deb ...
Unpacking pve-qemu-kvm (2.5-19) ...
dpkg: error processing archive /var/cache/apt/archives/pve-qemu-kvm_2.5-19_amd64.deb (--unpack):
trying to overwrite '/usr/bin/virtfs-proxy-helper', which is also in package qemu-system-common 1:2.1+dfsg-12+deb8u6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/pve-qemu-kvm_2.5-19_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code:
root@prox1:~# dpkg -l *qemu*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version             Architecture        Description
+++-============================-===================-===================-=============================================================
ii  ipxe-qemu                    1.0.0+git-20141004. all                 PXE boot firmware - ROM images for qemu
ic  pve-qemu-kvm                 2.2-25              amd64               Full virtualization on x86 hardware
un  pve-qemu-kvm-2.6.18          <none>              <none>              (no description available)
un  qemu                         <none>              <none>              (no description available)
un  qemu-keymaps                 <none>              <none>              (no description available)
un  qemu-kvm                     <none>              <none>              (no description available)
iU  qemu-server                  4.0-79              amd64               Qemu Server Tools
un  qemu-system                  <none>              <none>              (no description available)
ii  qemu-system-common           1:2.1+dfsg-12+deb8u amd64               QEMU full system emulation binaries (common files)
un  qemu-utils                   <none>              <none>              (no description available)

Code:
root@prox1:~# apt-get remove qemu-utils
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package 'qemu-utils' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
proxmox-ve : Depends: pve-qemu-kvm but it is not going to be installed
qemu-server : Depends: pve-qemu-kvm (>= 2.2-1) but it is not going to be installed
spiceterm : Depends: pve-qemu-kvm but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Seriously at a loss as to what to do next. Any help would be much appreciated.
 
Last edited:
uninstall the qemu package that is conflicting with proxmox's one: "apt-get remove qemu-system-common"
 
try
Code:
apt-get remove qemu-system-common

and then
Code:
apt-get -f install

edit: ah my colleage just answered ;)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!