PVE Upgrade 6 to 7 Error: "libpve-common-perl : Breaks: qemu-server"

Reeeick

New Member
Oct 5, 2022
3
1
3
Hello,

I am attempting to upgrade from PVE 6.7 to 7 an am running into the following error when running `apt dist-upgrade`:
Code:
root@proxmox:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
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 (< 7.0-19) but 6.4-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

While trouble shooting, I ran `apt upgrade` which appeared to upgrade most of my packages, but now have the following response when I run again:
Code:
root@proxmox:~# apt update
Hit:1 http://ftp.nz.debian.org/debian bullseye InRelease
Hit:2 http://ftp.nz.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:5 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
46 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@proxmox:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  ceph-common criu libcephfs2 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpve-access-control libpve-common-perl
  libpve-guest-common-perl libpve-http-server-perl libpve-storage-perl libpython2-stdlib libpython2.7
  libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib librados2 libradosstriper1 librbd1 librgw2
  libsmbclient libwbclient0 policykit-1 pve-container pve-manager python-six python2 python2-minimal python2.7
  python2.7-minimal python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs python3-chardet
  python3-minimal python3-pycurl python3-rados python3-rbd python3-rgw python3-six python3-yaml qemu-server
  samba-common samba-libs smbclient
0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.

My upgradeable packages:
Code:
root@proxmox:~# apt list --upgradeable
Listing... Done
ceph-common/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
criu/stable 3.15-1+pve-1 amd64 [upgradable from: 3.11-3]
libcephfs2/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
libpolkit-agent-1-0/stable,stable-security 0.105-31+deb11u1 amd64 [upgradable from: 0.105-25+deb10u1]
libpolkit-gobject-1-0/stable,stable-security 0.105-31+deb11u1 amd64 [upgradable from: 0.105-25+deb10u1]
libpve-access-control/stable 7.2-4 all [upgradable from: 6.4-3]
libpve-common-perl/stable 7.2-2 all [upgradable from: 6.4-5]
libpve-guest-common-perl/stable 4.1-2 all [upgradable from: 3.1-5]
libpve-http-server-perl/stable 4.1-3 all [upgradable from: 3.2-5]
libpve-storage-perl/stable 7.2-10 all [upgradable from: 6.4-1]
libpython2-stdlib/stable 2.7.18-3 amd64 [upgradable from: 2.7.16-1]
libpython2.7-minimal/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
libpython2.7-stdlib/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
libpython2.7/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
libpython3-stdlib/stable 3.9.2-3 amd64 [upgradable from: 3.7.3-1]
librados2/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
libradosstriper1/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
librbd1/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
librgw2/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
libsmbclient/stable,stable-security 2:4.13.13+dfsg-1~deb11u5 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u3]
libwbclient0/stable,stable-security 2:4.13.13+dfsg-1~deb11u5 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u3]
policykit-1/stable,stable-security 0.105-31+deb11u1 amd64 [upgradable from: 0.105-25+deb10u1]
pve-container/stable 4.2-2 all [upgradable from: 3.3-6]
pve-manager/stable 7.2-11 amd64 [upgradable from: 6.4-15]
python-six/stable 1.16.0-2 all [upgradable from: 1.12.0-1]
python2-minimal/stable 2.7.18-3 amd64 [upgradable from: 2.7.16-1]
python2.7-minimal/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
python2.7/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
python2/stable 2.7.18-3 amd64 [upgradable from: 2.7.16-1]
python3-apt/stable 2.2.1 amd64 [upgradable from: 1.8.4.3]
python3-ceph-argparse/stable 15.2.17-pve1 all [upgradable from: 15.2.17-pve1~bpo10]
python3-ceph-common/stable 15.2.17-pve1 all [upgradable from: 15.2.17-pve1~bpo10]
python3-cephfs/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
python3-chardet/stable 4.0.0-1 all [upgradable from: 3.0.4-3]
python3-minimal/stable 3.9.2-3 amd64 [upgradable from: 3.7.3-1]
python3-pycurl/stable 7.43.0.6-5 amd64 [upgradable from: 7.43.0.2-0.1]
python3-rados/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
python3-rbd/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
python3-rgw/stable 15.2.17-pve1 amd64 [upgradable from: 15.2.17-pve1~bpo10]
python3-six/stable 1.16.0-2 all [upgradable from: 1.12.0-1]
python3-yaml/stable 5.3.1-5 amd64 [upgradable from: 3.13-2]
python3/stable 3.9.2-3 amd64 [upgradable from: 3.7.3-1]
qemu-server/stable 7.2-4 amd64 [upgradable from: 6.4-2]
samba-common/stable,stable-security 2:4.13.13+dfsg-1~deb11u5 all [upgradable from: 2:4.9.5+dfsg-5+deb10u3]
samba-libs/stable,stable-security 2:4.13.13+dfsg-1~deb11u5 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u3]
smbclient/stable,stable-security 2:4.13.13+dfsg-1~deb11u5 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u3]

My pveversion output:
Code:
root@proxmox:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.60-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-helper: 7.2-12
pve-kernel-5.15: 7.2-11
pve-kernel-5.4: 6.4-20
pve-kernel-5.15.60-1-pve: 5.15.60-1
pve-kernel-5.4.203-1-pve: 5.4.203-1
pve-kernel-5.4.195-1-pve: 5.4.195-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 16.2.9-pve1
corosync: 3.1.6-1
criu: 3.11-3
glusterfs-client: 9.2-1
ifupdown: 0.8.36+pve1
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-5
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.6-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-2
pve-container: 3.3-6
pve-docs: 7.2-2
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-6
pve-firmware: 3.5-3
pve-ha-manager: 3.4.0
pve-i18n: 2.7-2
pve-qemu-kvm: 7.0.0-3
pve-xtermjs: 4.16.0-1
qemu-server: 6.4-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.1.5-pve1

Sources lists:
Code:
root@proxmox:~# cat /etc/apt/sources.list
deb http://ftp.nz.debian.org/debian bullseye main contrib

deb http://ftp.nz.debian.org/debian bullseye-updates main contrib

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

deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

root@proxmox:~# cat /etc/apt/sources.list.d/ceph.list
deb http://download.proxmox.com/debian/ceph-octopus bullseye main

When trying to install qemu-server manually:
Code:
root@proxmox:~# apt install qemu-server
Reading package lists... Done
Building dependency tree... Done
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:
 libgnutls-dane0 : Depends: libgnutls30 (= 3.7.1-5+deb11u2) but 3.7.2-2 is to be installed
E: Unable to correct problems, you have held broken packages.
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install qemu-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libgnutls-dane0:amd64 < none -> 3.7.1-5+deb11u2 @un puN Ib >
Broken libgnutls-dane0:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 @ii pmK > (= 3.7.1-5+deb11u2)
  Considering libgnutls30:amd64 165 as a solution to libgnutls-dane0:amd64 0
Broken libgnutls-dane0:amd64 Depends on libunbound8:amd64 < none | 1.13.1-1 @un uH > (>= 1.8.0)
  Considering libunbound8:amd64 0 as a solution to libgnutls-dane0:amd64 0
  Re-Instated libunbound8:amd64
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:
 libgnutls-dane0 : Depends: libgnutls30 (= 3.7.1-5+deb11u2) but 3.7.2-2 is to be installed
E: Unable to correct problems, you have held broken packages.

Please let me know if there are any other outputs required, I have tried following through several other similar installation issue threads with no luck.

Thanks!
 
Hi,
what if you try the following?
Code:
apt -o Debug::pkgProblemResolver=yes install qemu-server libgnutls30=3.7.1-5+deb11u2 libgnutls-dane0=3.7.1-5+deb11u2
Did you ever upgrade gnutls packages manually or from a different repository?
 
Hi,
what if you try the following?
Code:
apt -o Debug::pkgProblemResolver=yes install qemu-server libgnutls30=3.7.1-5+deb11u2 libgnutls-dane0=3.7.1-5+deb11u2
Did you ever upgrade gnutls packages manually or from a different repository?
Command output:
Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install qemu-server libgnutls30=3.7.1-5+deb11u2 libgnutls-dane0=3.7.1-5+deb11u2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 6
Starting 2 pkgProblemResolver with broken count: 6
Investigating (0) libldap-2.4-2:amd64 < 2.4.59+dfsg-1 @ii pmK Ib >
Broken libldap-2.4-2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libldap-2.4-2:amd64 21
Investigating (0) libgnutlsxx28:amd64 < 3.7.2-2 @ii mK Ib >
Broken libgnutlsxx28:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (= 3.7.2-2)
  Considering libgnutls30:amd64 10162 as a solution to libgnutlsxx28:amd64 0
  Removing libgnutlsxx28:amd64 rather than change libgnutls30:amd64
Investigating (0) libcups2:amd64 < 2.3.3op2-7 @ii mK Ib >
Broken libcups2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libcups2:amd64 0
  Removing libcups2:amd64 rather than change libgnutls30:amd64
Investigating (0) wget:amd64 < 1.21.2-2+b1 @ii mK Ib >
Broken wget:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to wget:amd64 0
  Removing wget:amd64 rather than change libgnutls30:amd64
Investigating (0) ntfs-3g:amd64 < 1:2021.8.22-3 @ii mK Ib >
Broken ntfs-3g:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to ntfs-3g:amd64 -1
  Removing ntfs-3g:amd64 rather than change libgnutls30:amd64
Investigating (0) lynx:amd64 < 2.9.0dev.10-1 @ii mK Ib >
Broken lynx:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to lynx:amd64 -1
  Removing lynx:amd64 rather than change libgnutls30:amd64
Investigating (1) libldap-2.4-2:amd64 < 2.4.59+dfsg-1 @ii pmK Ib >
Broken libldap-2.4-2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libldap-2.4-2:amd64 21
Investigating (1) lxc-pve:amd64 < 5.0.0-3 @ii mK Ib >
Broken lxc-pve:amd64 Depends on libgnutlsxx28:amd64 < 3.7.2-2 @ii mR >
  Considering libgnutlsxx28:amd64 0 as a solution to lxc-pve:amd64 3
  Added libgnutlsxx28:amd64 to the remove list
  Fixing lxc-pve:amd64 via keep of libgnutlsxx28:amd64
Investigating (1) pve-manager:amd64 < 6.4-15 -> 7.2-11 @ii umU Ib >
Broken pve-manager:amd64 Depends on wget:amd64 < 1.21.2-2+b1 @ii mR >
  Considering wget:amd64 0 as a solution to pve-manager:amd64 1
  Added wget:amd64 to the remove list
  Fixing pve-manager:amd64 via keep of wget:amd64
Investigating (1) samba-libs:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umH Ib >
Broken samba-libs:amd64 Depends on libcups2:amd64 < 2.3.3op2-7 @ii mR > (>= 1.6.0)
  Considering libcups2:amd64 0 as a solution to samba-libs:amd64 1
  Added libcups2:amd64 to the remove list
  Fixing samba-libs:amd64 via keep of libcups2:amd64
Investigating (1) libgnutlsxx28:amd64 < 3.7.2-2 @ii mK Ib >
Broken libgnutlsxx28:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (= 3.7.2-2)
  Considering libgnutls30:amd64 10162 as a solution to libgnutlsxx28:amd64 0
  Removing libgnutlsxx28:amd64 rather than change libgnutls30:amd64
Investigating (1) libcups2:amd64 < 2.3.3op2-7 @ii mK Ib >
Broken libcups2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libcups2:amd64 0
  Removing libcups2:amd64 rather than change libgnutls30:amd64
Investigating (1) wget:amd64 < 1.21.2-2+b1 @ii mK Ib >
Broken wget:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to wget:amd64 0
  Removing wget:amd64 rather than change libgnutls30:amd64
Investigating (2) libldap-2.4-2:amd64 < 2.4.59+dfsg-1 @ii pmK Ib >
Broken libldap-2.4-2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libldap-2.4-2:amd64 21
Investigating (2) lxc-pve:amd64 < 5.0.0-3 @ii mK Ib >
Broken lxc-pve:amd64 Depends on libgnutlsxx28:amd64 < 3.7.2-2 @ii mR >
  Considering libgnutlsxx28:amd64 0 as a solution to lxc-pve:amd64 3
  Added libgnutlsxx28:amd64 to the remove list
  Fixing lxc-pve:amd64 via keep of libgnutlsxx28:amd64
Investigating (2) pve-manager:amd64 < 6.4-15 -> 7.2-11 @ii umU Ib >
Broken pve-manager:amd64 Depends on wget:amd64 < 1.21.2-2+b1 @ii mR >
  Considering wget:amd64 0 as a solution to pve-manager:amd64 1
  Added wget:amd64 to the remove list
  Fixing pve-manager:amd64 via keep of wget:amd64
Investigating (2) samba-libs:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umH Ib >
Broken samba-libs:amd64 Depends on libcups2:amd64 < 2.3.3op2-7 @ii mR > (>= 1.6.0)
  Considering libcups2:amd64 0 as a solution to samba-libs:amd64 1
  Added libcups2:amd64 to the remove list
  Fixing samba-libs:amd64 via keep of libcups2:amd64
Investigating (2) libgnutlsxx28:amd64 < 3.7.2-2 @ii mK Ib >
Broken libgnutlsxx28:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (= 3.7.2-2)
  Considering libgnutls30:amd64 10162 as a solution to libgnutlsxx28:amd64 3
  Removing libgnutlsxx28:amd64 rather than change libgnutls30:amd64
Investigating (2) libcups2:amd64 < 2.3.3op2-7 @ii mK Ib >
Broken libcups2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libcups2:amd64 1
  Removing libcups2:amd64 rather than change libgnutls30:amd64
Investigating (2) wget:amd64 < 1.21.2-2+b1 @ii mK Ib >
Broken wget:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to wget:amd64 1
  Removing wget:amd64 rather than change libgnutls30:amd64
Investigating (3) libldap-2.4-2:amd64 < 2.4.59+dfsg-1 @ii pmK Ib >
Broken libldap-2.4-2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libldap-2.4-2:amd64 21
Investigating (3) lxc-pve:amd64 < 5.0.0-3 @ii mK Ib >
Broken lxc-pve:amd64 Depends on libgnutlsxx28:amd64 < 3.7.2-2 @ii mR >
  Considering libgnutlsxx28:amd64 10162 as a solution to lxc-pve:amd64 3
  Removing lxc-pve:amd64 rather than change libgnutlsxx28:amd64
Investigating (3) pve-manager:amd64 < 6.4-15 -> 7.2-11 @ii umU Ib >
Broken pve-manager:amd64 Depends on wget:amd64 < 1.21.2-2+b1 @ii mR >
  Considering wget:amd64 10162 as a solution to pve-manager:amd64 1
    Reinst Failed because of wget:amd64
  Removing pve-manager:amd64 rather than change wget:amd64
Investigating (3) samba-libs:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umH Ib >
Broken samba-libs:amd64 Depends on libcups2:amd64 < 2.3.3op2-7 @ii mR > (>= 1.6.0)
  Considering libcups2:amd64 10162 as a solution to samba-libs:amd64 1
    Reinst Failed because of libcups2:amd64
  Removing samba-libs:amd64 rather than change libcups2:amd64
Investigating (3) libsmbclient:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umH Ib >
Broken libsmbclient:amd64 Depends on samba-libs:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umR > (= 2:4.9.5+dfsg-5+deb10u3)
  Considering samba-libs:amd64 10162 as a solution to libsmbclient:amd64 0
    Reinst Failed because of samba-libs:amd64
  Removing libsmbclient:amd64 rather than change samba-libs:amd64
Investigating (3) proxmox-ve:amd64 < 7.2-1 @ii mK Ib >
Broken proxmox-ve:amd64 Depends on pve-manager:amd64 < 6.4-15 | 7.2-11 @ii umR >
  Considering pve-manager:amd64 10162 as a solution to proxmox-ve:amd64 0
  Removing proxmox-ve:amd64 rather than change pve-manager:amd64
Investigating (4) libldap-2.4-2:amd64 < 2.4.59+dfsg-1 @ii pmK Ib >
Broken libldap-2.4-2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libldap-2.4-2:amd64 21
Investigating (4) pve-container:amd64 < 3.3-6 -> 4.2-2 @ii umU Ib >
Broken pve-container:amd64 Depends on lxc-pve:amd64 < 5.0.0-3 @ii mR >
  Considering lxc-pve:amd64 10162 as a solution to pve-container:amd64 6
    Reinst Failed because of lxc-pve:amd64
  Removing pve-container:amd64 rather than change lxc-pve:amd64
Investigating (4) smbclient:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umH Ib >
Broken smbclient:amd64 Depends on samba-libs:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umR > (= 2:4.9.5+dfsg-5+deb10u3)
  Considering samba-libs:amd64 10162 as a solution to smbclient:amd64 4
  Re-Instated samba-common:amd64
    Reinst Failed because of samba-libs:amd64
  Removing smbclient:amd64 rather than change samba-libs:amd64
Investigating (5) libldap-2.4-2:amd64 < 2.4.59+dfsg-1 @ii pmK Ib >
Broken libldap-2.4-2:amd64 Depends on libgnutls30:amd64 < 3.7.2-2 -> 3.7.1-5+deb11u2 @ii pmD > (>= 3.7.2)
  Considering libgnutls30:amd64 10162 as a solution to libldap-2.4-2:amd64 21
Investigating (5) libpve-storage-perl:amd64 < 6.4-1 -> 7.2-10 @ii pumU Ib >
Broken libpve-storage-perl:amd64 Depends on smbclient:amd64 < 2:4.9.5+dfsg-5+deb10u3 | 2:4.13.13+dfsg-1~deb11u5 @ii umR >
  Considering smbclient:amd64 10162 as a solution to libpve-storage-perl:amd64 13
  Considering smbclient:amd64 10162 as a solution to libpve-storage-perl:amd64 13
Investigating (5) pve-ha-manager:amd64 < 3.4.0 @ii pmK Ib >
Broken pve-ha-manager:amd64 Depends on pve-container:amd64 < 3.3-6 | 4.2-2 @ii umR >
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
  Considering pve-container:amd64 10162 as a solution to pve-ha-manager:amd64 9
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:
 libldap-2.4-2 : Depends: libgnutls30 (>= 3.7.2) but 3.7.1-5+deb11u2 is to be installed
 libpve-storage-perl : Depends: smbclient but it is not going to be installed
 pve-ha-manager : Depends: pve-container but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

At some point about a year ago we did attempt to install some other repository packages.
 
Last edited:
What is the output of dpkg-query --list wget libldap-2.4-2 libgnutls30? To me, it seems like you have quite a few packages from Debian Sid installed (EDIT: or at least newer versions than currently in the Bullseye repository). Downgrading a Debian (and by transitivity a Proxmox VE) installation is generally not supported. The safer and easier option is to re-install after having restore-tested backups of course.
 
Last edited:
What is the output of dpkg-query --list wget libldap-2.4-2 libgnutls30? To me, it seems like you have quite a few packages from Debian Sid installed (EDIT: or at least newer versions than currently in the Bullseye repository). Downgrading a Debian (and by transitivity a Proxmox VE) installation is generally not supported. The safer and easier option is to re-install after having restore-tested backups of course.
Command output:
Code:
root@proxmox:~# dpkg-query --list wget libldap-2.4-2 libgnutls30
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  libgnutls30:amd64   3.7.2-2       amd64        GNU TLS library - main runtime library
ii  libldap-2.4-2:amd64 2.4.59+dfsg-1 amd64        OpenLDAP libraries
ii  wget                1.21.2-2+b1   amd64        retrieves files from the web

After your note about the packages from Debian Sid, I found this post about how to revert to the Buster repository, which I then updated for Bullseye (searching for "/now" in the installed packages and replacing "buster" with "bullseye" in the preferences file":
https://unix.stackexchange.com/questions/539501/how-remove-sid-unstable-repositories

Then running `apt dist-upgrade` does a successful downgrade of the Sid packages and successfully upgrades to PVE 7!

To wrap it up, I then removed the preferences file and ran apt dist-upgrade again and it was able to upgrade all the security packages.

I now have a successful install, thank you very much for your help!
 
  • Like
Reactions: fiona
This problem has been around me for quite a few months so I'm replying this post as it appeared the first in Google search.

The root problem is that the package pve-lxc (any version till now) depends on libgnutlsxx28 which has been apparently replaced by libgnutls30 in upstream debian. A number of other packages (not a lot) now depend on libgnutls30 so you have to avoid upgrading/installing these packages in order to install/keep pve-lxc which is an essential component for the entire Proxmox. And if you've already have libgnutls30 installed, you can try to downgrade it and all its dependencies, without upgrading the whole system.

I have no idea why the dependency list of pve-lxc has not been updated to allow both old and new versions, or whether it's compatible with the new libgnutls30 at all. Now every apt-get upgrade showing me 50+ blocked upgrades really frustrates me, while a modification of the dependencies of pve-lxc could be a dirty fix.
 
Last edited:
This problem has been around me for quite a few months so I'm replying this post as it appeared the first in Google search.

The root problem is that the package pve-lxc (any version till now) depends on libgnutlsxx28 which has been apparently replaced by libgnutls30 in upstream debian. A number of other packages (not a lot) now depend on libgnutls30 so you have to avoid upgrading/installing these packages in order to install/keep pve-lxc which is an essential component for the entire Proxmox. And if you've already have libgnutls30 installed, you can try to downgrade it and all its dependencies, without upgrading the whole system.

I have no idea why the dependency list of pve-lxc has not been updated to allow both old and new versions, or whether it's compatible with the new libgnutls30 at all. Now every apt-get upgrade showing me 50+ blocked upgrades really frustrates me, while a modification of the dependencies of pve-lxc could be a dirty fix.
The issue in this thread that there were packages from Debian Bookworm or Sid installed on the system. Proxmox VE 7 is only intended to run on Debian Bullseye. Your issue might be different.

I don't see any problem with libgnutls30 being installed on my setup. In fact, it's a dependency of libgnutlsxx28:
Code:
root@pve701 ~ # apt show libgnutlsxx28 
Package: libgnutlsxx28
Version: 3.7.1-5+deb11u2
Priority: optional
Section: libs
Source: gnutls28
Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>
Installed-Size: 84.0 kB
Depends: libgnutls30 (= 3.7.1-5+deb11u2), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5)

What exactly is the issue you are facing, i.e. why can't you install libgnutls30? Please also provide the output of pveversion -v.
 
The issue in this thread that there were packages from Debian Bookworm or Sid installed on the system. Proxmox VE 7 is only intended to run on Debian Bullseye. Your issue might be different.

I don't see any problem with libgnutls30 being installed on my setup. In fact, it's a dependency of libgnutlsxx28:
Code:
root@pve701 ~ # apt show libgnutlsxx28
Package: libgnutlsxx28
Version: 3.7.1-5+deb11u2
Priority: optional
Section: libs
Source: gnutls28
Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>
Installed-Size: 84.0 kB
Depends: libgnutls30 (= 3.7.1-5+deb11u2), libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstdc++6 (>= 5)

What exactly is the issue you are facing, i.e. why can't you install libgnutls30? Please also provide the output of pveversion -v.
$ sudo apt-get install libgnutls30 libgnutlsxx28
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libgnutlsxx28 is already the newest version (3.7.3-4+b1).
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:
libgnutlsxx28 : Depends: libgnutls30 (= 3.7.3-4+b1) but 3.7.8-2 is to be installed
E: Unable to correct problems, you have held broken packages.

$ apt-cache policy libgnutls30
libgnutls30:
Installed: 3.7.3-4+b1
Candidate: 3.7.8-2
Version table:
3.7.8-2 500
500 http://ftp.debian.org/debian bookworm/main amd64 Packages
*** 3.7.3-4+b1 100
100 /var/lib/dpkg/status

$ apt-cache policy libgnutlsxx28
libgnutlsxx28:
Installed: 3.7.3-4+b1
Candidate: 3.7.3-4+b1
Version table:
*** 3.7.3-4+b1 100
100 /var/lib/dpkg/status

OK seems it's been quite a time that I wasn't able to describe the problem clearly. Yes I have been mixing Proxmox with Debian Bookworm and it seems that libgnutlsxx28 has already been removed from upstream. So it's neither possible to install Proxmox on a new Bookworm installation without libgnutlsxx28, nor to upgrade libgnutls30 to newer versions, which blocks a number of other packages.

If pve-lxc is compatible with libgnutls30 alone, marking the dependency as "libgnutlsxx28 | libgnutls30" could solve the problem. If not, that could be a problem sooner or later.
 
PVE 7.x is not compatible with Bookworm - it's based on Debian Bullseye.
 
Debian Bookworm is not even in its initial freeze period yet, see here. Proxmox VE 8.0 will be based on it, after Bookworm has been released (likely some time in summer/autumn 2023).
 

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!