Bug 2290742 - powertop requires xset and X11 libraries which are unwanted on a headless server
Summary: powertop requires xset and X11 libraries which are unwanted on a headless server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: powertop
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-06 16:53 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2024-06-20 01:50 UTC (History)
3 users (show)

Fixed In Version: powertop-2.15-8.fc41 powertop-2.15-8.fc40
Clone Of:
Environment:
Last Closed: 2024-06-11 01:38:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2024-06-06 16:53:10 UTC
Description of problem:
https://src.fedoraproject.org/rpms/powertop/c/12015551c84d5bbaa64968922282a98188bfe27a?branch=rawhide added a hard requirement on xset, which pulls in about 10 X11 libraries. These are unwanted and unnecessary on headless servers without X11.

Version-Release number of selected component (if applicable):
powertop-2.15-7.fc40

How reproducible:
Always

Steps to Reproduce:
1. dnf remove xset libX11
2. dnf install powertop-2.15-6.fc40
3. dnf update powertop

Actual results:
Dependencies resolved.
================================================================================
 Package              Architecture  Version                Repository      Size
================================================================================
Upgrading:
 powertop             x86_64        2.15-7.fc40            updates        229 k
Installing dependencies:
 libICE               x86_64        1.1.1-3.fc40           fedora          74 k
 libSM                x86_64        1.2.4-3.fc40           fedora          43 k
 libX11               x86_64        1.8.9-1.fc40           updates        648 k
 libX11-common        noarch        1.8.9-1.fc40           updates        176 k
 libXau               x86_64        1.0.11-6.fc40          fedora          32 k
 libXext              x86_64        1.3.6-1.fc40           fedora          39 k
 libXmu               x86_64        1.2.1-1.fc40           updates         78 k
 libXt                x86_64        1.3.0-3.fc40           fedora         177 k
 libxcb               x86_64        1.17.0-1.fc40          updates        239 k
 xset                 x86_64        1.2.5-5.fc40           fedora          28 k

Transaction Summary
================================================================================
Install  10 Packages
Upgrade   1 Package

Total download size: 1.7 M

Expected results:
Only powertop gets updated.

Additional info:
Please make it a soft dependency instead.

Comment 1 Dominik 'Rathann' Mierzejewski 2024-06-06 17:00:17 UTC
https://src.fedoraproject.org/rpms/powertop/pull-request/1 open.

Comment 2 Fedora Update System 2024-06-10 12:20:56 UTC
FEDORA-2024-d0c8bd96f7 (powertop-2.15-8.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d0c8bd96f7

Comment 3 Fedora Update System 2024-06-10 12:25:35 UTC
FEDORA-2024-dccc729707 (powertop-2.15-8.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-dccc729707

Comment 4 Fedora Update System 2024-06-11 01:38:23 UTC
FEDORA-2024-d0c8bd96f7 (powertop-2.15-8.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2024-06-12 13:02:21 UTC
FEDORA-2024-dccc729707 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-dccc729707`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-dccc729707

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-06-20 01:50:19 UTC
FEDORA-2024-dccc729707 (powertop-2.15-8.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.