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.
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
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.