FS#65744 - [kodi] Kodi packages have "dependency loop" so Kodi can never get "unrequired"

Attached to Project: Community Packages
Opened by Manuel Reimer (M-Reimer) - Sunday, 08 March 2020, 19:33 GMT
Last edited by Ike Devolder (BlackEagle) - Saturday, 27 February 2021, 14:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: "kodi" depends on "kodi-bin" and "kodi-bin" depends on "kodi".

This "dependency loop" makes it impossible for "kodi" to ever get "unused".

Steps to reproduce:

Install "kodi" with:

pacman -S --asdeps kodi

After installing, check for unused dependencies:

pacman -Qdtt

You'll see that the newly installed "kodi" isn't listed as unused.
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Saturday, 27 February 2021, 14:04 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented fix in kodi 19 package
Comment by Chris Billington (chrisjbillington) - Friday, 05 June 2020, 15:51 GMT
Perhaps one could consider this a deficiency of pacman -Qdt
Comment by Ike Devolder (BlackEagle) - Monday, 08 June 2020, 11:01 GMT
I'll think about it for kodi 19
Comment by Manuel Reimer (M-Reimer) - Monday, 08 June 2020, 11:59 GMT
I've reported this about 2 years ago for pacman:

https://bugs.archlinux.org/task/59711

IMHO pacman at least needs a switch which tells "Qdt" that it also has to list dependency loops.
Yes, they technically are all still required, but there is a chance that they are only wasting space as none of them was installed by a user in the first place...

But about this Kodi bug report: Would be OK for me if you just close it if the loop is technically correct. I've fixed the problem with loops on my side by creating a helper script which is able to detect those even if pacman -Qdt is not able to.
Comment by Ike Devolder (BlackEagle) - Saturday, 27 February 2021, 14:04 GMT
The dependency loop will be gone in kodi 19

Loading...