You are not logged in.

#1 2022-08-27 22:35:45

860lacov
Member
Registered: 2020-05-02
Posts: 497

[SOLVED] How can I find information about files inside /usr/bin/

In /usr/bin/
I have cpufreqctl.auto-cpufreq
I would like to find out for which package it belongs.

I thought that it was installed with auto-cpufreq from AUR, but I don't have this package currently installed.

Last edited by 860lacov (2022-10-04 04:22:15)

Offline

#2 2022-08-27 22:39:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] How can I find information about files inside /usr/bin/

man pacman | less -p -F

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-08-27 22:39:16

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [SOLVED] How can I find information about files inside /usr/bin/

Offline

#4 2022-08-27 23:01:18

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: [SOLVED] How can I find information about files inside /usr/bin/

Thank you.
I tried to find out this with pacman -F and pacman -Qs and -Qi and nothing

Anything somehow related to this file is when I do:
pacman -F /usr/bin/cpufreqctl.auto-cpufreq -v

Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/  
Hook Dirs : /usr/share/libalpm/hooks/  /etc/pacman.d/hooks/  
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
GPG Dir   : /etc/pacman.d/gnupg/
Targets   : /usr/bin/cpufreqctl.auto-cpufreq

Last edited by 860lacov (2022-08-27 23:02:09)

Offline

#5 2022-08-27 23:21:17

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [SOLVED] How can I find information about files inside /usr/bin/

Further down than Qs and Qi examples:

wiki wrote:

To query the database to know which package a file in the file system belongs to:

$ pacman -Qo /path/to/file_name

If you have files in /usr/bin not owned by any package then see Tips_and_tricks#Identify_files_not_owned_by_any_package.

Offline

#6 2022-08-27 23:21:59

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED] How can I find information about files inside /usr/bin/

pacman's -F flag will not properly account for files from aur packages, but -Qo will so long as those packages are installed:

pacman -Qo /bin/cpufreqctl.auto-cpufreq

That will either report which package owns said file, or it will confirm that it is not owned, in which case you may want to remove it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2022-10-03 21:13:18

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: [SOLVED] How can I find information about files inside /usr/bin/

Trilby wrote:

pacman's -F flag will not properly account for files from aur packages, but -Qo will so long as those packages are installed:

pacman -Qo /bin/cpufreqctl.auto-cpufreq

That will either report which package owns said file, or it will confirm that it is not owned, in which case you may want to remove it.

Qo gave me:

pacman -Qo /bin/cpufreqctl.auto-cpufreq 
error: No package owns /bin/cpufreqctl.auto-cpufreq

So I will remove it.
But why it is there in the first place?

I had auto-cpufreq installed from AUR. But I removed it with pacman -Rsn.

Offline

#8 2022-10-03 23:12:06

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [SOLVED] How can I find information about files inside /usr/bin/

Possibly self installed by auto-cpufreq  https://github.com/AdnanHodzic/auto-cpu … re.py#L307
The git version of the package removes that file on package removal https://aur.archlinux.org/cgit/aur.git/ … eq-git#n29 while the none git version removes a different file https://aur.archlinux.org/cgit/aur.git/ … to-cpufreq

Offline

Board footer

Powered by FluxBB