apt upgrade dist
... Did you really want to install/upgrade the package dist
, or was it a failed attempt to do apt dist-upgrade
? 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.
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.
What is the output if you tryapt install qemu-server
? If that doesn't work, please post the output of
apt -o Debug::pkgProblemResolver=yes dist-upgrade
.
Please always useHi Fabian when I try the command I get the following error.
root@einstein:/mnt/bocelli-05/apps/backup/einstein# apt upgrade
dist-upgrade
rather than upgrade
. It's often necessary to upgrade the system as a wholedist-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.
apt update
and pveversion -v
?