qemu dependency issue blocking d-u

Begonnen von dibl, 2021/03/13, 12:19:07

Vorheriges Thema - Nächstes Thema

dibl

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?
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.


dibl

Hah! So much for my search-foo!  Thank you hendrikL.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

dpanter

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
<< insert signature here >>

dibl

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.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

vayu

So what's the result, put qemu-system-x86 on hold and wait till qemu-system-data comes in with the new version?

dibl

#6
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.

System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

eriefisher

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 AM CANADIAN!

dibl

Zitat von: eriefisher... I just did a apt upgrade and everything else upgraded leaving qemu alone.

Now THERE is a great suggestion!  Thanks.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

Pip

It seems to be fixed now - apt full-upgrade not reporting any errors, with qemu packages being updated.

dibl

Yes, qemu-system-data has been updated, along with the other affected packages.

qemu-system-data:
  Installed: 1:5.2+dfsg-8
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.