Upgrade Problem 5.2.6 to current (5.3.8)

Jospeh Huber

Renowned Member
Apr 18, 2016
99
7
73
45
Hi,

yesterday I wanted to upgrade my Proxmox 5.2.6 to current (5.3.8).
We are using the non-subscription repo.

The dist-upgrade reports:
The following packages have unmet dependencies:
libpve-common-perl : Breaks: qemu-server (< 5.0-42) but 5.0-30 is to be installed
libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-30 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.



I had other installations on different 5.2.X Versions where the upgrade was OK...

Any ideas?
 
Post the full output of:

> apt update

and:

> apt dist-upgrade
 
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libnvpair1linux libpve-common-perl libpve-guest-common-perl libpve-storage-perl
libuutil1linux libzfs2linux libzpool2linux pve-container pve-edk2-firmware
pve-kernel-4.15 pve-libspice-server1 pve-manager pve-qemu-kvm qemu-server
zfs-initramfs zfs-zed zfsutils-linux
The following packages will be upgraded:
base-files
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
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: qemu-server (< 5.0-42) but 5.0-30 is to be installed
libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-30 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


 
Again, please provide the full output of:

> apt update

(you did a "apt-get upgrade", which you never should do)
 
That is correct, I did not read this before.
Like always, I have just made the upgrade via the webgui...
By the way, the repository is missing in all my other proxmox systems (with a different minor version) , but the upgrade was successful.

If I add this, the result is the same:

apt-get update
Hit:1 http://ftp.at.debian.org/debian stretch-updates InRelease
Ign:2 http://ftp.de.debian.org/debian stretch InRelease
Hit:3 http://ftp.de.debian.org/debian stretch Release
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:5 http://download.proxmox.com/debian stretch InRelease
Reading package lists... Done

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
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: qemu-server (< 5.0-42) but 5.0-30 is to be installed
libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-30 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
Hm,

due to another dependency there was a hold on a package which caused the problem:
apt-mark showhold
pve-edk2-firmware

After removing the package hold, the dist-upgrade worked ...
 

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!