PVE 4.4 to 5.x upgrade problem

gkovacs

Renowned Member
Dec 22, 2008
514
51
93
Budapest, Hungary
I am upgrading our cluster, node by node from PVE 4.4 to 5 following the wiki:
https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0

Several nodes upgraded perfectly, however on one node I get the following errors:
Code:
# apt-get dist-upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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:
 libpve-common-perl : Breaks: pve-manager (< 5.2-5) but 4.4-24 is to be installed
                      Breaks: qemu-server (< 5.0-42) but 4.0-115 is to be installed
 libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 4.4-24 is to be installed
                            Breaks: qemu-server (< 5.0-35) but 4.0-115 is to be installed
 libpve-storage-perl : Breaks: pve-manager (< 5.2-12) but 4.4-24 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

The node is not different from the others in any way I could remember:
# pveversion -v
proxmox-ve: 4.4-112 (running kernel: 4.4.134-1-pve)
pve-manager: 4.4-24 (running version: 4.4-24/08ba4d2d)
pve-kernel-4.4.117-1-pve: 4.4.117-109
pve-kernel-4.4.117-2-pve: 4.4.117-110
pve-kernel-4.4.134-1-pve: 4.4.134-112
pve-kernel-4.4.128-1-pve: 4.4.128-111
pve-kernel-4.4.114-1-pve: 4.4.114-108
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-2~pve4+2
libqb0: 1.0.1-1
pve-cluster: 4.0-55
qemu-server: 4.0-115
pve-firmware: 1.1-12
libpve-common-perl: 4.0-96
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-2
pve-docs: 4.4-4
pve-qemu-kvm: 2.9.1-9~pve4
pve-container: 1.0-106
pve-firewall: 2.0-33
pve-ha-manager: 1.0-41
ksm-control-daemon: 1.2-1
glusterfs-client: 3.8.4-1
lxc-pve: 2.0.7-4
lxcfs: 2.0.8-2~pve4
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80
# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian stretch main contrib non-free

# security updates
deb http://security.debian.org stretch/updates main contrib non-free
deb http://security.debian.org/debian-security stretch/updates main contrib non-free

# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian stretch pve-no-subscription

Any idea what to do next?
 
Last edited:
Please check/post the full output of:

> apt-get update
 
Please check/post the full output of:
> apt-get update

# apt-get update
Ign http://ftp.de.debian.org stretch InRelease
Hit http://ftp.de.debian.org stretch Release.gpg
Hit http://ftp.de.debian.org stretch Release
Hit http://ftp.de.debian.org stretch/main amd64 Packages
Hit http://ftp.de.debian.org stretch/contrib amd64 Packages
Hit http://security.debian.org stretch/updates InRelease
Hit http://security.debian.org stretch/updates InRelease
Hit http://ftp.de.debian.org stretch/non-free amd64 Packages
Hit http://ftp.de.debian.org stretch/contrib Translation-en
Hit http://ftp.de.debian.org stretch/main Translation-en
Get:1 http://download.proxmox.com stretch InRelease [3,052 B]
Hit http://ftp.de.debian.org stretch/non-free Translation-en
Hit http://security.debian.org stretch/updates/main amd64 Packages
Hit http://download.proxmox.com stretch InRelease
Hit http://security.debian.org stretch/updates/contrib amd64 Packages
Hit http://security.debian.org stretch/updates/non-free amd64 Packages
Hit http://security.debian.org stretch/updates/contrib Translation-en
Hit http://security.debian.org stretch/updates/main Translation-en
Hit http://download.proxmox.com stretch/pve-no-subscription amd64 Packages
Hit http://security.debian.org stretch/updates/non-free Translation-en
Hit http://security.debian.org stretch/updates/main amd64 Packages
Hit http://security.debian.org stretch/updates/contrib amd64 Packages
Get:2 http://download.proxmox.com stretch/main amd64 Packages [220 kB]
Hit http://security.debian.org stretch/updates/non-free amd64 Packages
Hit http://security.debian.org stretch/updates/contrib Translation-en
Hit http://security.debian.org stretch/updates/main Translation-en
Hit http://security.debian.org stretch/updates/non-free Translation-en
Ign http://download.proxmox.com stretch/pve-no-subscription Translation-en_US
Ign http://download.proxmox.com stretch/pve-no-subscription Translation-en
Ign http://download.proxmox.com stretch/main Translation-en_US
Ign http://download.proxmox.com stretch/main Translation-en
Fetched 223 kB in 2s (97.6 kB/s)
Reading package lists... Done

It looks like the problem got solved after I restarted all the Proxmox services:
Code:
service corosync restart
/etc/init.d/pve-cluster restart
/etc/init.d/pvedaemon restart
/etc/init.d/pvestatd restart
/etc/init.d/pveproxy restart

After another apt-get update, apt-get dist-upgrade works again without any errors.
 

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!