Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73336 - [tlp] 1.5.0-2 does not conflict with power-profiles-daemon

Attached to Project: Community Packages
Opened by Sibo Dong (flyingpig) - Wednesday, 12 January 2022, 02:58 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 14 January 2022, 17:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
According to the last line of the warning in [1], TLP 1.5.0 should "remove the conflicting power-profiles-daemon package". However, only tlp-rdw 1.5.0-2 conflicts with power-profiles-daemon since the package_tlp function in the PKGBUILD overwrites the previous conflicts array with another.

Additional info:
* tlp 1.5.0-2
* tlp-rdw 1.5.0-2
* power-profiles-daemon 0.10.1-1
* https://github.com/linrunner/TLP/issues/564#issuecomment-1004851596

Side note: I'm hesitant for this bug to be fixed since as implied in the note in [2], power-profiles-daemon is a dependency of gnome-control-center 41.2-1 and thus GNOME, which prevents its removal. Having tlp properly conflict with power-profiles-daemon would prevent the installation of tlp on GNOME systems which may be undesirable for those wanting to use tlp instead of power-profiles-daemon. It would be nice to avoid this situation, but this feels a bit outside of the scope of this bug report.

[1] https://linrunner.de/tlp/installation/arch.html#service-units
[2] https://wiki.archlinux.org/title/power-profiles-daemon
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Friday, 14 January 2022, 17:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.5.0-3
Comment by Mark Wagie (yochananmarqos) - Wednesday, 12 January 2022, 04:03 GMT
It would be better to mask conflicting services rather than a package conflict, see upstream's suggestion: https://linrunner.de/tlp/developers/scripts.html
Comment by Sibo Dong (flyingpig) - Wednesday, 12 January 2022, 07:14 GMT
It would also probably suffice to have power-profiles-daemon be an optional dependency of gnome-control-center rather than a hard dependency. Removing the package just removes the power panel from GNOME Settings and the top panel.

Edit: gnome-control-center 41.2-2 now lists power-profiles-daemon as an optional dependency.

Loading...