12.04.2020 21:18, Iain Learmonth wrote: ... >>> A versioned dependency would ensure that I had the correct versions of >>> things and everything would work together. >> >> Which package, in your opinion, should depend on which? > > The -gui package should depend on qemu-system-* relevant for the > platform first, or any other qemu-system-* package to avoid installing > the one for the platform if another one is already installed. Although
Do you mean something like Depends: qemu-system-x86 (=version) | qemu-system-arm (=version) | ... ? It doesn't really depends on either of them, to my understanding, but it _extends_ either of them. Dunno. And even there, you might have qemu-system-arm installed that matches qemu-system-gui, but your qemu-system-x86 (of different version) wont work exactly the same way why you filed this bugreport. I dunno. I thought about various possible ways, and found neither of them to be well enough, or at least better than current variant. What I really want to do is to have _single_ package with all the qemu-system-* combined, and a few more that extends them, like -gui or qemu-block-extra, if needed. This way it will be easy to mix-n-match them. It is really good that qemu grew up enough to need some serious debugging less and less often, - before I tried really hard to keep various qemu-system-* of different versions fully working when installed together. > maybe that's not right either and apt just isn't built for this scenario. > >> Please note that qemu-system-x86 already recommends qemu-system-gui >> with proper version. Unfortunately the versioned Recommends does not >> work "right" in this case, basically the version there is ignored. >> >> Here, I'm not sure but it _smells_ like you also have APT::Install-Recommends >> set to false, which is also not recommended. > > Nope, this is my desktop that I use every day, it's not some weird > setup, it's as close to standard Debian defaults as is possible. That's interesting, - I don't understand how you ended up installing different versions of qemu subpackages. Which version of qemu-system-x86 did you have, why it hasn't been up to date? Thanks, /mjt