Issue with upgrade from 7.0 to 7.1

Hey,

and I just noticed that on November 18th you tried apt upgrade dist... Did you really want to install/upgrade the package dist, or was it a failed attempt to do apt dist-upgrade?
Nevertheless I don't know exactly how to resolve the current situation concerning the two packages held back. Maybe you have to reinstall some packages, but I don't feel qualified to recommend something like this, because I don't know the consequences well enough. Maybe a developer could help again?
 
What is the output if you try apt install qemu-server? If that doesn't work, please post the output of
apt -o Debug::pkgProblemResolver=yes dist-upgrade.
 
Code:
 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:
 swtpm-tools : Depends: swtpm (= 0.7.0~rc1+2) but 0.7.0-1 is to be installed
E: Unable to correct problems, you have held broken packages.


Code:
apt -o Debug::pkgProblemResolver=yes dist-upgrade
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) libpve-common-perl:amd64 < 7.0-10 -> 7.0-14 @ii umU Ib >
Broken libpve-common-perl:amd64 Breaks on qemu-server:amd64 < 7.0-14 @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
  Considering qemu-server:amd64 6 as a solution to libpve-common-perl:amd64 56
  Upgrading qemu-server:amd64 due to Breaks field in libpve-common-perl:amd64
  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
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 7.0-14 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
Did you ever install a swtpm package manually or from another repository? I can't find that version 0.7.0-1 published in ours.
Please try apt install -o Debug::pkgProblemResolver=yes qemu-server swtpm=0.7.0~rc1+2
 
Thank you Fabian, that completely fixed it. All up to date and working now.

Please pass along that we would buy support if there were some more options. IE. Purchase single ticket, or other slightly less expensive options.
 
Hi, trying to upgrade and having this error.

libpve-access-control : Breaks: pve-manager (< 7.0-15) but 7.0-11 is to be installed
libpve-common-perl : Breaks: qemu-server (< 7.0-19) but 7.0-13 is to be installed
libpve-rs-perl : Breaks: pve-manager (< 7.1-11) but 7.0-11 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
What is the output if you try apt install qemu-server? If that doesn't work, please post the output of
apt -o Debug::pkgProblemResolver=yes dist-upgrade.


Hi Fabian when I try the command I get the following error.

root@einstein:/mnt/bocelli-05/apps/backup/einstein# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libqb0
Use 'apt autoremove' to remove it.
The following packages have been kept back:
libpve-access-control libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-rs-perl libpve-storage-perl pve-container
pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@einstein:/mnt/bocelli-05/apps/backup/einstein# apt upgrade pve-edk2-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pve-edk2-firmware is already the newest version (3.20210831-2).
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libqb0
Use 'apt autoremove' to remove it.
The following packages have been kept back:
libpve-access-control libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-rs-perl libpve-storage-perl pve-container
pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@einstein:/mnt/bocelli-05/apps/backup/einstein# 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:
swtpm-tools : Depends: gnutls-bin but it is not going to be installed
Depends: libjson-glib-1.0-0 (>= 1.5.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 

Attachments

  • proxmox.txt
    37.9 KB · Views: 2
Hi,
Hi Fabian when I try the command I get the following error.

root@einstein:/mnt/bocelli-05/apps/backup/einstein# apt upgrade
Please always use dist-upgrade rather than upgrade. It's often necessary to upgrade the system as a whole
dist-upgrade
in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libqb0
Use 'apt autoremove' to remove it.
The following packages have been kept back:
libpve-access-control libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-rs-perl libpve-storage-perl pve-container
pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@einstein:/mnt/bocelli-05/apps/backup/einstein# apt upgrade pve-edk2-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pve-edk2-firmware is already the newest version (3.20210831-2).
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libqb0
Use 'apt autoremove' to remove it.
The following packages have been kept back:
libpve-access-control libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-rs-perl libpve-storage-perl pve-container
pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@einstein:/mnt/bocelli-05/apps/backup/einstein# 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:
swtpm-tools : Depends: gnutls-bin but it is not going to be installed
Depends: libjson-glib-1.0-0 (>= 1.5.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

What is the output of apt update and pveversion -v?
 

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!