Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932808 - sys-power/upower and sys-apps/bat binary conflict...
Summary: sys-power/upower and sys-apps/bat binary conflict...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 20:48 UTC by Scott Vargovich
Modified: 2024-05-27 13:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Vargovich 2024-05-26 20:48:49 UTC
Both of the apps upower and the bat command both use the binary bat to run their programs.  I have had upower installed for quite a while.  I installed the bat app (rust replacement for the cat command).  Whenever I type bat, it brings the upower output instead of initiating the bat command.  I have also unmerged the upower command and unmerged / reinstalled bat, but there are existing preserved libs that are making the bat command complain that upower isn't there.  Is there a way to have either the upower app change its binary or the bat command change it's binary???

If you have any questions, please email me at ke8cqc@gmail.com .  I would be more than willing to answer any questions.
Comment 1 Jonas Stein gentoo-dev 2024-05-26 22:49:31 UTC
I have both installed, but I cannot reproduce this. 

You can check the installed files with:
equery f sys-apps/bat
equery f sys-power/upower

Could you please reinstall both packages and provide the file lists above plus the usual logs.
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 Violet Purcell 2024-05-27 13:59:30 UTC
Sounds like you might have a script named "bat" utilizing upower somewhere else in your path that's overriding sys-apps/bat? Similar to what jstein said I have upower and bat both installed and cannot reproduce, and I can't find any reference to a "bat" command in the upower codebase.