Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: dibl on 2021/03/13, 12:19:07
-
Since yesterday morning (U.S. Eastern), this is the situation:
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:
qemu-system-common : Depends: qemu-system-x86 (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-arm (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-mips (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-ppc (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-sparc (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-misc (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-s390x (= 1:5.2+dfsg-6+b1) or
qemu-system-x86-xen (= 1:5.2+dfsg-6+b1) but it is not installable
qemu-system-gui : Depends: qemu-system-x86 (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-arm (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-mips (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-ppc (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-sparc (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-misc (= 1:5.2+dfsg-6+b1) but it is not going to be installed or
qemu-system-s390x (= 1:5.2+dfsg-6+b1) or
qemu-system-x86-xen (= 1:5.2+dfsg-6+b1) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
A little investigation shows:
root@dibl-patience:/# apt policy qemu-system-x86
qemu-system-x86:
Installed: 1:5.2+dfsg-6
Candidate: 1:5.2+dfsg-6+b1
Version table:
1:5.2+dfsg-6+b1 500
500 http://httpredir.debian.org/debian unstable/main amd64 Packages
*** 1:5.2+dfsg-6 100
100 /var/lib/dpkg/status
But:
root@dibl-patience:/# apt install --reinstall qemu-system-x86
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-system-data : Depends: qemu-system-x86 (= 1:5.2+dfsg-6) but 1:5.2+dfsg-6+b1 is to be installed or
qemu-system-arm (= 1:5.2+dfsg-6) but it is not going to be installed or
qemu-system-mips (= 1:5.2+dfsg-6) but it is not going to be installed or
qemu-system-ppc (= 1:5.2+dfsg-6) but it is not going to be installed or
qemu-system-sparc (= 1:5.2+dfsg-6) but it is not going to be installed or
qemu-system-misc (= 1:5.2+dfsg-6) but it is not going to be installed or
qemu-system-s390x (= 1:5.2+dfsg-6) or
qemu-system-x86-xen (= 1:5.2+dfsg-6) but it is not installable
E: Unable to correct problems, you have held broken packages.
So, it looks like the upgrade of qemu-system-x86 violates the dependency of qemu-system-data.
Do I understand this correctly? I didn't find anything about it in Debian bug tracker. Anyone else?
-
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985040&archived=False&mbox=no&mboxmaint=no
-
Hah! So much for my search-foo! Thank you hendrikL.
-
Here's a dirty one-liner to grab a "quick" apt-listbugs check for all currently upgradable packages. Obviously apt update first or just throw that in there as well. :)
for p in `apt list --upgradable 2>/dev/null | awk -F'/' '{ print $1 }' | awk '!a[$0]++' | awk 'NR>1'` ; do apt-listbugs -q list $p ; done
-
Thanks @dpanter, that's some nice work -- way above my skill level. Interesting that it does not report anything about this qemu-system-x86 problem.
-
So what's the result, put qemu-system-x86 on hold and wait till qemu-system-data comes in with the new version?
-
I think the only practical answer is ... patience. If it goes too long with no fix, I guess we can put qemu-system-x86 on hold to upgrade the system.
-
I noticed that a couple days ago. I just let it go for a bit and figured something would show up but nothing so far. Soon. I just did a apt upgrade and everything else upgraded leaving qemu alone. I'm sure it will change in a day or two.
Edit: All fixed now.
-
... I just did a apt upgrade and everything else upgraded leaving qemu alone.
Now THERE is a great suggestion! Thanks.
-
It seems to be fixed now - apt full-upgrade not reporting any errors, with qemu packages being updated.
-
Yes, qemu-system-data has been updated, along with the other affected packages.
qemu-system-data:
Installed: 1:5.2+dfsg-8