[SOLVED] Upgrade from 5 to 6 internal error when starting VMs

Terrum

Renowned Member
Mar 7, 2014
36
4
73
I followed this: https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0#In-place_upgrade

Then rebooted machine and tried to start VMs and this error shows:

Code:
/usr/bin/kvm: error while loading shared libraries: libtirpc.so.3: cannot open shared object file: No such file or directory
command '/usr/bin/kvm --version' failed: exit code 127
TASK ERROR: internal error: cannot check version of invalid string 'unknown' at /usr/share/perl5/PVE/QemuServer/Helpers.pm line 114.

Output of pveversion -v:

Code:
proxmox-ve: 5.4-2 (running kernel: 4.15.18-26-pve)
pve-manager: not correctly installed (running version: 6.1-7/13e58d5e)
pve-kernel-4.15: 5.4-14
pve-kernel-4.15.18-26-pve: 4.15.18-54
pve-kernel-4.15.18-21-pve: 4.15.18-48
pve-kernel-4.4.134-1-pve: 4.4.134-112
ceph-fuse: 10.2.11-2
corosync: 3.0.3-pve1~bpo9
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ifupdown: 0.8.19
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libknet1: 1.14-pve1~bpo9
libpve-access-control: not correctly installed
libpve-apiclient-perl: 2.0-5
libpve-common-perl: not correctly installed
libpve-guest-common-perl: not correctly installed
libpve-http-server-perl: not correctly installed
libpve-storage-perl: not correctly installed
libqb0: 1.0.5-1~bpo9+2
libspice-server1: not correctly installed
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-7
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
proxmox-mini-journalreader: 1.0-1
proxmox-widget-toolkit: not correctly installed
pve-cluster: not correctly installed
pve-container: not correctly installed
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-22
pve-firmware: 2.0-7
pve-ha-manager: not correctly installed
pve-i18n: 1.1-4
pve-qemu-kvm: not correctly installed
pve-xtermjs: 3.12.0-1
qemu-server: not correctly installed
smartmontools: 6.5+svn4324-1
spiceterm: not correctly installed
vncterm: 1.5-3

I guess it didn't correctly install a lot of things for some reason. How can I install the missing files? Any help is greatly appreciated.
 
Fixed by re-installing each 'not correctly installed' package (libpve-access-control, libpve-common-perl and so on).
 
  • Like
Reactions: Stoiko Ivanov
Glad you found the solution - please mark the thread as 'SOLVED' - that should help others with similar issues

Thanks!
 
To add a little more detail, I basically cleared my apt sources and ran apt-get dist-upgrade again.
 

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!