Can't update from 4.4 to 5.1 due to libpve-common-perl

Raymond Burns

Member
Apr 2, 2013
333
1
18
Houston, Texas, United States
Not sure what's going on. I have 3 nodes that all have the same issue with inplace upgrade.
Code:
root@prox-f:~# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian stretch main contrib

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

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

The error I receive after "apt-get dist-upgrade" is
Code:
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: qemu-server (< 5.0-21) but 4.0-115 is to be installed
 libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 4.4-22 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Code:
root@prox-f:~# pveversion -v
proxmox-ve: 4.4-109 (running kernel: 4.4.117-1-pve)
pve-manager: 4.4-22 (running version: 4.4-22/2728f613)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.4.117-1-pve: 4.4.117-109
pve-kernel-4.4.59-1-pve: 4.4.59-87
pve-kernel-4.4.44-1-pve: 4.4.44-84
pve-kernel-4.4.16-1-pve: 4.4.16-64
pve-kernel-4.4.67-1-pve: 4.4.67-92
pve-kernel-4.4.98-6-pve: 4.4.98-107
pve-kernel-4.4.19-1-pve: 4.4.19-66
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-54
qemu-server: 4.0-115
pve-firmware: 1.1-11
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-105
pve-firewall: 2.0-33
pve-ha-manager: 1.0-41
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-4
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-9
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80
ceph: 12.2.5-1~bpo80+1
Code:
root@prox-f:~# ceph mon versions
{
    "ceph version 12.2.5 (cad919881333ac92274171586c827e01f554a70a) luminous (stable)": 3
}
root@prox-f:~# ceph osd versions
{
    "ceph version 12.2.5 (cad919881333ac92274171586c827e01f554a70a) luminous (stable)": 50
}
Code:
root@prox-f:~# cat /etc/apt/sources.list.d/ceph.list
deb http://download.proxmox.com/debian/ceph-luminous stretch main
 
You have an unsupported mix of Proxmox VE 4.x and 5.x (Jessie and Stretch).

Check ALL your repositories under

/etc/apt/sources.list.d/*.*
 
Code:
root@prox-f:~# ls -l /etc/apt/sources.list.d/
total 1
-rw-r--r-- 1 root root 66 May  4 07:27 ceph.list
-rw-r--r-- 1 root root 67 May  4 07:27 pve-enterprise.list

I only have the two repositories.

Code:
root@prox-f:~# cat /etc/apt/sources.list.d/ceph.list
deb http://download.proxmox.com/debian/ceph-luminous stretch main

root@prox-f:~# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian stretch pve-enterprise

I've also tried "apt-get clean".
 
I do not have a subscription key.

Code:
Reading state information... Done
The following extra packages will be installed:
  pve-kernel-4.15 pve-kernel-4.15.15-1-pve
The following NEW packages will be installed:
  pve-kernel-4.15 pve-kernel-4.15.15-1-pve
The following packages will be upgraded:
  proxmox-ve
1 upgraded, 2 newly installed, 0 to remove and 599 not upgraded.
Need to get 52.4 MB of archives.
After this operation, 259 MB of additional disk space will be used.

Do I proceed with this command?
 
Again, please send the output of:

> apt update
 
Code:
root@prox-f:~# apt update
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign http://ftp.debian.org stretch InRelease
Hit http://ftp.debian.org stretch Release.gpg
Hit http://download.proxmox.com stretch InRelease
Hit http://ftp.debian.org stretch Release
Hit http://download.proxmox.com stretch InRelease
Hit http://security.debian.org stretch/updates/main amd64 Packages
Hit http://download.proxmox.com stretch/pve-no-subscription amd64 Packages
Hit http://security.debian.org stretch/updates/contrib amd64 Packages
Hit http://ftp.debian.org stretch/main amd64 Packages
Hit http://security.debian.org stretch/updates/contrib Translation-en
Hit http://download.proxmox.com stretch/main amd64 Packages
Hit http://security.debian.org stretch/updates/main Translation-en
Hit http://ftp.debian.org stretch/contrib amd64 Packages
Hit http://ftp.debian.org stretch/contrib Translation-en
Hit http://ftp.debian.org stretch/main 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 94.3 kB in 3s (25.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
599 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
Code:
root@prox-f:~# apt update
....
599 packages can be upgraded. Run 'apt list --upgradable' to see them.

599 packages needs an upgrade.

Run "apt-get dist-upgrade" to finalize the upgrade from 4.x to 5.x
 
Code:
root@prox-f:~# 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: qemu-server (< 5.0-21) but 4.0-115 is to be installed
 libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 4.4-22 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
I'm having this exact problem as well. I'm hoping we can find a solution for this issue.

Code:
root@proxmox02:~# apt 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: qemu-server (< 5.0-21) but 4.0-115 is to be installed
 libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 4.4-22 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
@Raymond Burns

I found the solution to the problem.

Code:
apt-get clean
apt-get update
apt-get dist-upgrade

This cleaned out the errors or conflicts that apt was seeing. The upgrade went well after I cleaned it.
 
Running into this issue as well upgrading from 4.4 to 5.x, not using ceph and I have a license key.
Tried apt-get clean, update and dist-upgrade, same error

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: qemu-server (< 5.0-21) but 4.0-115 is to be installed
libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 4.4-22 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
Hi Wolfgang, I see that you requested the user to open a new thread however I too am having this same problem. According to The1stSword his issue was resolved running the clean. Now both Orlando Leon and myself are seeing that this does not resolve like was suggested to resolve. IMO This thread should not be closed or resolved if others are still having the same exact issue.

root@TNP-PMH03:/etc/apt/sources.list.d# apt-get clean

root@TNP-PMH03:/etc/apt/sources.list.d# apt-get update

Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]

Ign:2 http://ftp.debian.org/debian stretch InRelease

Hit:3 http://download.proxmox.com/debian/pve stretch InRelease

Hit:4 http://ftp.debian.org/debian stretch Release

Fetched 94.3 kB in 0s (109 kB/s)

Reading package lists... Done

root@TNP-PMH03:/etc/apt/sources.list.d# 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-29) but 5.0-15 is to be installed

libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 5.0-32 is to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
Hi Wolfgang, I see that you requested the user to open a new thread however I too am having this same problem. According to The1stSword his issue was resolved running the clean. Now both Orlando Leon and myself are seeing that this does not resolve like was suggested to resolve. IMO This thread should not be closed or resolved if others are still having the same exact issue.

root@TNP-PMH03:/etc/apt/sources.list.d# apt-get clean

root@TNP-PMH03:/etc/apt/sources.list.d# apt-get update


Fetched 94.3 kB in 0s (109 kB/s)

Reading package lists... Done

root@TNP-PMH03:/etc/apt/sources.list.d# 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-29) but 5.0-15 is to be installed

libpve-guest-common-perl : Breaks: pve-manager (< 5.1-40) but 5.0-32 is to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I resolved this by using udpu as transport, it is an issue related to multicast on the network.
The correct solution is to make sure your network fully supports multicast also verify there is an igmp querier.
 
I had the same problem yesterday.

The reason this problem occurs is that, when updating ceph from jewel to luminous (https://pve.proxmox.com/wiki/Ceph_Jewel_to_Luminous) you install ceph from the ceph server and not from the proxmox server. Since the ceph server now has a version 12.2.7 which isn't compatible with promox 5. upgrading to proxmox 5 fails.

You can fix this by installing ceph 12.2.5 from the proxmox server, after that the dist-upgrade runs through.

In case you haven't already upgraded ceph you can install ceph 12.2.5 directly of course, without the need to later downgarde.
 
I am having the same issue when I tried to upgrade from 5.1->5.2

Code:
# apt full-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: pve-manager (< 5.2-5) but 5.1-43 is to be installed
                      Breaks: qemu-server (< 5.0-29) but 5.0-20 is to be installed
 libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-20 is to be installed
E: Error, pkgProblemResolver::Resolve

My repository files are correct.

When I run pveversion-v i get the following:
Code:
proxmox-ve: 5.2-2 (running kernel: 4.15.18-8-pve)
pve-manager: 5.1-43 (running version: 5.1-43/bdb08029)
pve-kernel-4.15.18-8-pve: 4.15.18-28
pve-kernel-4.13.13-2-pve: 4.13.13-33
pve-kernel-4.10.15-1-pve: 4.10.15-15
pve-kernel-4.13.8-3-pve: 4.13.8-30
pve-kernel-4.15: 5.2-11
pve-kernel-4.13.13-5-pve: 4.13.13-38
libpve-http-server-perl: 2.0-11
lvm2: 2.02.168-pve6
corosync: 2.4.2-pve5
libqb0: 1.0.1-1
pve-cluster: 5.0-19
qemu-server: 5.0-20
pve-firmware: 2.0-6
libpve-common-perl: 5.0-25
libpve-guest-common-perl: 2.0-14
libpve-access-control: 5.0-8
libpve-storage-perl: 5.0-17
pve-libspice-server1: 0.14.1-1
vncterm: 1.5-3
pve-docs: 5.2-9
pve-qemu-kvm: 2.9.1-1
pve-container: 2.0-18
pve-firewall: 3.0-14
pve-ha-manager: 2.0-5
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 3.0.2+pve1-3
lxcfs: 3.0.2-2
criu: 2.11.1-1~bpo90
novnc-pve: 1.0.0-2
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.7

And when I run apt-mark showhold, I get

Code:
pve-qemu-kvm

I’ve tried the apt get-clean solution....but that did not work. I have not yet tried the igmp querier solution yet. I do have a license key.
 
I am having the same issue when I tried to upgrade from 5.1->5.2

Code:
# apt full-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: pve-manager (< 5.2-5) but 5.1-43 is to be installed
                      Breaks: qemu-server (< 5.0-29) but 5.0-20 is to be installed
 libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-20 is to be installed
E: Error, pkgProblemResolver::Resolve

My repository files are correct.

When I run pveversion-v i get the following:
Code:
proxmox-ve: 5.2-2 (running kernel: 4.15.18-8-pve)
pve-manager: 5.1-43 (running version: 5.1-43/bdb08029)
pve-kernel-4.15.18-8-pve: 4.15.18-28
pve-kernel-4.13.13-2-pve: 4.13.13-33
pve-kernel-4.10.15-1-pve: 4.10.15-15
pve-kernel-4.13.8-3-pve: 4.13.8-30
pve-kernel-4.15: 5.2-11
pve-kernel-4.13.13-5-pve: 4.13.13-38
libpve-http-server-perl: 2.0-11
lvm2: 2.02.168-pve6
corosync: 2.4.2-pve5
libqb0: 1.0.1-1
pve-cluster: 5.0-19
qemu-server: 5.0-20
pve-firmware: 2.0-6
libpve-common-perl: 5.0-25
libpve-guest-common-perl: 2.0-14
libpve-access-control: 5.0-8
libpve-storage-perl: 5.0-17
pve-libspice-server1: 0.14.1-1
vncterm: 1.5-3
pve-docs: 5.2-9
pve-qemu-kvm: 2.9.1-1
pve-container: 2.0-18
pve-firewall: 3.0-14
pve-ha-manager: 2.0-5
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 3.0.2+pve1-3
lxcfs: 3.0.2-2
criu: 2.11.1-1~bpo90
novnc-pve: 1.0.0-2
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.7

And when I run apt-mark showhold, I get

Code:
pve-qemu-kvm

I’ve tried the apt get-clean solution....but that did not work. I have not yet tried the igmp querier solution yet. I do have a license key.
Hi,
does the same happens with dist-upgrade?
Code:
apt dist-upgrade
And what happens, if you install the higer versions of the perl libs?
Code:
apt install libpve-common-perl libpve-guest-common-perl
Udo
 
Same thing:

Code:
root@pve:~# apt 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: pve-manager (< 5.2-5) but 5.1-43 is to be installed
                      Breaks: qemu-server (< 5.0-29) but 5.0-20 is to be installed
 libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-20 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@pve:~#
root@pve:~#
root@pve:~#
root@pve:~#
root@pve:~#
root@pve:~#
root@pve:~#
root@pve:~#
root@pve:~# apt install libpve-common-perl libpve-guest-common-perl
Reading package lists... Done
Building dependency tree      
Reading state information... Done
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 5.1-43 is to be installed
                      Breaks: qemu-server (< 5.0-29) but 5.0-20 is to be installed
 libpve-guest-common-perl : Breaks: qemu-server (< 5.0-35) but 5.0-20 is to be installed
E: Unable to correct problems, you have held broken
 

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!