[SOLVED] 6.4 to 7 upgrade issues

HoosierIT

Member
Dec 28, 2021
5
0
6
45
issue:
Code:
Starting system upgrade: apt-get 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.

System not fully up to date (found 277 new packages)

starting shell
root@server:/#

Any easy way to fix this?
 
Last edited:
Code:
root@server:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease                                                                     
Hit:2 http://ftp.debian.org/debian bullseye-updates InRelease                                                             
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease         
Hit:4 https://enterprise.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done           
Building dependency tree... Done
Reading state information... Done
198 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code:
root@server:~# pveversion -v
proxmox-ve: 7.1-1 (running kernel: 5.13.19-2-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-helper: 7.1-6
pve-kernel-5.13: 7.1-5
pve-kernel-5.4: 6.4-11
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.4.157-1-pve: 5.4.157-1
pve-kernel-4.15: 5.4-19
pve-kernel-4.15.18-30-pve: 4.15.18-58
pve-kernel-4.15.18-12-pve: 4.15.18-36
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.5-pve2
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.22-pve2
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 6.4-4
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-3
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: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 1.1.13-2
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-4
pve-cluster: 6.4-1
pve-container: 4.1-3
pve-docs: 7.1-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 4.2-5
pve-firmware: 3.3-3
pve-ha-manager: 3.3-1
pve-i18n: 2.6-2
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.12.0-1
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.6-pve1~bpo10+1
 
Code:
root@server:~# apt-mark showhold
pve-edk2-firmware

Code:
root@server:~# 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:
 qemu-server : Depends: pve-edk2-firmware (>= 3.20210831-1) but 1.20190312-1 is to be installed
E: Unable to correct problems, you have held broken packages.

Code:
root@server:~# apt -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 19
Starting 2 pkgProblemResolver with broken count: 19
Investigating (0) perl:amd64 < 5.28.1-6+deb10u1 -> 5.32.1-4+deb11u2 @ii umU Ib >
Broken perl:amd64 Breaks on perl-modules-5.24:amd64 < 5.24.1-3+deb9u6 @ii mK >
  Considering perl-modules-5.24:amd64 1 as a solution to perl:amd64 222
  Added perl-modules-5.24:amd64 to the remove list
  Fixing perl:amd64 via remove of perl-modules-5.24:amd64
Investigating (0) libpve-common-perl:amd64 < 6.4-4 -> 7.0-14 @ii umU Ib >
Broken libpve-common-perl:amd64 Breaks on qemu-server:amd64 < 6.4-2 @ii umH > (< 7.0-19)
  Conflicts//Breaks against version 7.0-18 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-17 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-16 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-15 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-14 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-13 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-12 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-11 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-10 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-9 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-8 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-7 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-6 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-5 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-4 for qemu-server but that is not InstVer, ignoring
  Considering qemu-server:amd64 4 as a solution to libpve-common-perl:amd64 54
  Upgrading qemu-server:amd64 due to Breaks field in libpve-common-perl:amd64
Investigating (0) libc6-dev:amd64 < 2.28-10 -> 2.31-13+deb11u2 @ii umU Ib >
Broken libc6-dev:amd64 Breaks on libgcc-8-dev:amd64 < 8.3.0-6 @ii mK > (< 8.4.0-2~)
  Considering libgcc-8-dev:amd64 -2 as a solution to libc6-dev:amd64 19
  Added libgcc-8-dev:amd64 to the remove list
Broken libc6-dev:amd64 Breaks on python3.7:amd64 < 3.7.3-2+deb10u3 @ii mK > (< 3.7.7-1+b1)
  Considering python3.7:amd64 -2 as a solution to libc6-dev:amd64 19
  Added python3.7:amd64 to the remove list
  Fixing libc6-dev:amd64 via remove of libgcc-8-dev:amd64
  Fixing libc6-dev:amd64 via remove of python3.7:amd64
Investigating (0) libpython2.7-stdlib:amd64 < 2.7.16-2+deb10u1 -> 2.7.18-8 @ii umU Ib >
Broken libpython2.7-stdlib:amd64 Breaks on libpython-stdlib:amd64 < 2.7.16-1 @ii mK Ib > (< 2.7.18)
  Considering libpython-stdlib:amd64 -3 as a solution to libpython2.7-stdlib:amd64 15
  Added libpython-stdlib:amd64 to the remove list
Broken libpython2.7-stdlib:amd64 Breaks on python:amd64 < 2.7.16-1 @ii mK Ib > (< 2.7.18)
  Considering python:amd64 5 as a solution to libpython2.7-stdlib:amd64 15
  Added python:amd64 to the remove list
Broken libpython2.7-stdlib:amd64 Breaks on python-chardet:amd64 < 3.0.4-3 @ii mK > (< 3.0.4-6~)
  Considering python-chardet:amd64 -5 as a solution to libpython2.7-stdlib:amd64 15
  Added python-chardet:amd64 to the remove list
Broken libpython2.7-stdlib:amd64 Breaks on python-minimal:amd64 < 2.7.16-1 @ii mK Ib > (< 2.7.18)
  Considering python-minimal:amd64 -3 as a solution to libpython2.7-stdlib:amd64 15
  Added python-minimal:amd64 to the remove list
Broken libpython2.7-stdlib:amd64 Breaks on python-urllib3:amd64 < 1.24.1-1 @ii mK NPb IPb > (< 1.25.8-2~)
  Considering python-urllib3:amd64 -4 as a solution to libpython2.7-stdlib:amd64 15
  Added python-urllib3:amd64 to the remove list
  Fixing libpython2.7-stdlib:amd64 via remove of libpython-stdlib:amd64
  Fixing libpython2.7-stdlib:amd64 via remove of python:amd64
  Fixing libpython2.7-stdlib:amd64 via remove of python-chardet:amd64
  Fixing libpython2.7-stdlib:amd64 via remove of python-minimal:amd64
  Fixing libpython2.7-stdlib:amd64 via remove of python-urllib3:amd64
Investigating (0) libldb2:amd64 < none -> 2:2.2.3-2~deb11u1 @un uN Ib >
Broken libldb2:amd64 Breaks on libldb1:amd64 < 2:1.5.1+really1.4.6-3+deb10u1 @ii mK > (< 2:2~)
  Considering libldb1:amd64 -3 as a solution to libldb2:amd64 3
  Added libldb1:amd64 to the remove list
  Fixing libldb2:amd64 via remove of libldb1:amd64
Investigating (0) libnode72:amd64 < none -> 12.22.5~dfsg-2~11u1 @un uN Ib >
Broken libnode72:amd64 Breaks on libnode64:amd64 < 10.24.0~dfsg-1~deb10u1 @ii mK >
  Considering libnode64:amd64 -3 as a solution to libnode72:amd64 2
  Added libnode64:amd64 to the remove list
  Fixing libnode72:amd64 via remove of libnode64:amd64
Investigating (0) libperl5.24:amd64 < 5.24.1-3+deb9u6 @ii mK Ib >
Broken libperl5.24:amd64 Depends on perl-modules-5.24:amd64 < 5.24.1-3+deb9u6 @ii mR > (>= 5.24.1-3+deb9u6)
  Considering perl-modules-5.24:amd64 1 as a solution to libperl5.24:amd64 0
  Removing libperl5.24:amd64 rather than change perl-modules-5.24:amd64
Investigating (0) python-idna:amd64 < 2.6-1 @ii mK Ib >
Broken python-idna:amd64 Depends on python:any:any < none @un H > (< 2.8)
  Considering python:amd64 5 as a solution to python-idna:amd64 0
  Removing python-idna:amd64 rather than change python:any:any
Investigating (0) libgc1:amd64 < none -> 1:8.0.4-3 @un uN Ib >
Broken libgc1:amd64 Conflicts on libgc1c2:amd64 < 1:7.6.4-0.4 @ii mK Ib >
  Considering libgc1c2:amd64 -2 as a solution to libgc1:amd64 -1
  Added libgc1c2:amd64 to the remove list
  Fixing libgc1:amd64 via remove of libgc1c2:amd64
Investigating (0) python-certifi:amd64 < 2018.8.24-1 @ii mK Ib >
Broken python-certifi:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-certifi:amd64 -1
  Removing python-certifi:amd64 rather than change python:amd64
Investigating (0) python-configparser:amd64 < 3.5.0b2-1 @ii mK Ib >
Broken python-configparser:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-configparser:amd64 -1
  Removing python-configparser:amd64 rather than change python:amd64
Investigating (0) python-future:amd64 < 0.16.0-1 @ii mK Ib >
Broken python-future:amd64 Depends on python:any:any < none @un H > (< 2.8)
  Considering python:amd64 5 as a solution to python-future:amd64 -2
  Removing python-future:amd64 rather than change python:any:any
Investigating (0) python-rados:amd64 < 12.2.11+dfsg1-2.1+b1 @ii mK Ib >
Broken python-rados:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-rados:amd64 -2
  Removing python-rados:amd64 rather than change python:amd64
Investigating (0) python-prettytable:amd64 < 0.7.2-4 @ii mK Ib >
Broken python-prettytable:amd64 Depends on python:any:any < none @un H > (< 2.8)
  Considering python:amd64 5 as a solution to python-prettytable:amd64 -2
  Removing python-prettytable:amd64 rather than change python:any:any
Investigating (0) python-talloc:amd64 < 2.1.14-2 @ii mK Ib >
Broken python-talloc:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-talloc:amd64 -2
  Removing python-talloc:amd64 rather than change python:amd64
Investigating (0) python-ipaddr:amd64 < 2.2.0-2 @ii mK Ib >
Broken python-ipaddr:amd64 Depends on python:any:any < none @un H > (< 2.8)
  Considering python:amd64 5 as a solution to python-ipaddr:amd64 -2
  Removing python-ipaddr:amd64 rather than change python:any:any
Investigating (0) python-rbd:amd64 < 12.2.11+dfsg1-2.1+b1 @ii mK Ib >
Broken python-rbd:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-rbd:amd64 -2
  Removing python-rbd:amd64 rather than change python:amd64
Investigating (0) guile-2.0-libs:amd64 < 2.0.13+1-5.1 @ii mK Ib >
Broken guile-2.0-libs:amd64 Depends on libgc1c2:amd64 < 1:7.6.4-0.4 @ii mR > (>= 1:7.2d)
  Considering libgc1c2:amd64 -2 as a solution to guile-2.0-libs:amd64 -2
  Removing guile-2.0-libs:amd64 rather than change libgc1c2:amd64
Investigating (0) gcc-8:amd64 < 8.3.0-6 @ii mK Ib >
Broken gcc-8:amd64 Depends on libgcc-8-dev:amd64 < 8.3.0-6 @ii mR > (= 8.3.0-6)
  Considering libgcc-8-dev:amd64 -2 as a solution to gcc-8:amd64 -2
  Removing gcc-8:amd64 rather than change libgcc-8-dev:amd64
Investigating (0) python-cephfs:amd64 < 12.2.11+dfsg1-2.1+b1 @ii mK Ib >
Broken python-cephfs:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-cephfs:amd64 -2
  Removing python-cephfs:amd64 rather than change python:amd64
Investigating (0) python-protobuf:amd64 < 3.6.1.3-2 @ii mK Ib >
Broken python-protobuf:amd64 Depends on python:amd64 < 2.7.16-1 @ii mR > (< 2.8)
  Considering python:amd64 5 as a solution to python-protobuf:amd64 -2
  Removing python-protobuf:amd64 rather than change python:amd64
Investigating (0) python-requests:amd64 < 2.21.0-1 @ii mK Ib >
Broken python-requests:amd64 Depends on python-certifi:amd64 < 2018.8.24-1 @ii mR >
  Considering python-certifi:amd64 -1 as a solution to python-requests:amd64 -2
  Removing python-requests:amd64 rather than change python-certifi:amd64
Investigating (1) libpve-common-perl:amd64 < 6.4-4 -> 7.0-14 @ii umU Ib >
Broken libpve-common-perl:amd64 Breaks on qemu-server:amd64 < 6.4-2 @ii umH > (< 7.0-19)
  Conflicts//Breaks against version 7.0-18 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-17 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-16 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-15 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-14 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-13 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-12 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-11 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-10 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-9 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-8 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-7 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-6 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-5 for qemu-server but that is not InstVer, ignoring
  Conflicts//Breaks against version 7.0-4 for qemu-server but that is not InstVer, ignoring
  Considering qemu-server:amd64 4 as a solution to libpve-common-perl:amd64 54
  Upgrading qemu-server:amd64 due to Breaks field in libpve-common-perl:amd64
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.
 
Hello,

Thank you for the output!

Please provide us with the output of the below commands:
Bash:
grep '' /etc/apt/sources.list.d/*
grep '' /etc/apt/sources.list
 
Code:
root@server:~# grep '' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
/etc/apt/sources.list.d/pve-no-subscription.list:#deb http://download.proxmox.com/debian bulseye  pve-no-subscription
root@server:~# grep '' /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

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

Could you try the below command:

Bash:
apt install -o Debug::pkgProblemResolver=yes qemu-server pve-edk2-firmware=3.20210831-1
 
This seems to have resolved the issue I was able to fully upgrade without further incident thank you.
 
Glad you solved the issue :)

I will go ahead and make your thread as [SOLVED] to help other people who have the same issue.

Have a nice day :)
 

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!