FS#74805 - [qemu-desktop] Some dependencies listed as both hard and optional deps

Attached to Project: Arch Linux
Opened by Arvid Norlander (VorpalGun) - Friday, 20 May 2022, 13:16 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 July 2022, 05:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The qemu-desktop package seems to be weirdly constructed. On one hand it lists for example qemu-audio-oss as an optional dependency but also as a hard dependency. This is true for many other dependencies. As far as I understand a dependency should be either optional or required, but I may be wrong. Also this is not consistent, as some dependencies (mostly the qemu-system-*) are indeed truly optional dependencies.

You could uninstall qemu-desktop as it is a meta-package. However, in that shouldn't package groups be used instead (as is the case for KDE for example) with an optional qemu-desktop-meta that pulls in everything? That does not seem to be the case for qemu-desktop.

Additional info:
* package version(s): qemu-desktop 7.0.0-10

Steps to reproduce:
1. Want to remove some un-needed parts of qemu.
2. See that qemu-audio-oss etc is listed as an optional dependency and decide to uninstall it since I use pipewire.
3. Get very confused when pacman claims it is required.

This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 27 July 2022, 05:43 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75078 
Comment by Toolybird (Toolybird) - Monday, 06 June 2022, 22:09 GMT
Please see here for a suggested patch which should fix this issue:

 FS#75078 
Comment by Toolybird (Toolybird) - Wednesday, 27 July 2022, 05:43 GMT
On second thoughts, I will mark this as dupe of the general proposal to restructure the meta pkgs as it should address your points. Thanks for reporting.

Loading...