View previous topic :: View next topic |
Author |
Message |
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 730
|
Posted: Fri Oct 18, 2024 7:40 am Post subject: [solved how to find programs they only come with useflag XYZ |
|
|
i have tried to mount something where comes the message unkown filesystem (LVM2_member)
i tried google, found that i have to use vgscan ....
i tried vgs<tab><tab> .... no vgscan here.
i tried emerge -av sys-fs/lvm2
Code: | [ebuild R ] sys-fs/lvm2-2.03.22-r5::gentoo USE="readline udev -lvm -sanlock (-selinux) -static -static-libs -systemd -thin -valgrind" 0 KiB |
ok, i was wondering, lvm2 installed, but no vgscan here.
i add "sys-fs/lvm2 lvm" in the file "/etc/portage/package.use"
and run emerge again to build lvm2 new. amd than was vgscan found at my system.
for me, it was a lucky hit to found vgscan now.
how can i find out that program 123 is only built using useflag XYZ?
Last edited by SarahS93 on Fri Oct 18, 2024 6:46 pm; edited 2 times in total |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3977
|
Posted: Fri Oct 18, 2024 8:23 am Post subject: |
|
|
2 my knowledge there is no way to predict what binaries an ebuild generates in general.
No to say depending on USE flags.
However pfl web site may be of some help in some cases, e.g. which ebuild for a required program.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Fri Oct 18, 2024 8:32 am; edited 2 times in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9320
|
Posted: Fri Oct 18, 2024 8:26 am Post subject: |
|
|
Code: | $ equery u lvm2
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sys-fs/lvm2-2.03.22-r5:
U I
- - lvm : Build all of LVM2 including daemons and tools like lvchange, not just the device-mapper library (for other packages to use). If your system uses LVM2 for managing disks
and partitions, enable this flag. |
|
|
Back to top |
|
|
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 730
|
Posted: Fri Oct 18, 2024 8:54 am Post subject: |
|
|
long time ago, i have noticed for me that
in "net-analyzer/dsniff" is the programm "tcpkill" and
in "sys-process/procps" is the program "watch"
but it would be easyer and nice if anyone looking for a programm to find out in what package or useflag the programm is behind |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1803 Location: Germany
|
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3940 Location: Hamburg
|
Posted: Fri Oct 18, 2024 9:42 am Post subject: |
|
|
The title is misleading, "X" is a USE flag too. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4679 Location: Germany
|
Posted: Fri Oct 18, 2024 11:33 am Post subject: |
|
|
Yes, app-portage/pfl is helpful for this stuff <3
example output: | $ e-file vgscan
app-shells/bash-completion
Seen Versions: 2.11 2.13.0-r1 2.14.0 2.14.0-r1
Portage Versions: 2.14.0 2.14.0-r1 9999
Repository: gentoo
Installed Versions: 2.14.0-r1(Fri Aug 30 01:35:15 2024)
Homepage: https://github.com/scop/bash-completion
Description: Programmable Completion for bash
Matched Files: /usr/share/bash-completion/completions/vgscan
sys-fs/lvm2
Seen Versions: 2.03.14-r4 2.03.17-r2 2.03.20 2.03.21-r1 2.03.22-r2 2.03.22-r3 2.03.22-r5
Portage Versions: 2.03.21-r1 2.03.22-r1 2.03.22-r5
Repository: gentoo
Installed Versions: 2.03.22-r5(Fri Aug 30 10:46:31 2024)
Homepage: https://sourceware.org/lvm2/
Description: User-land utilities for LVM2 (device-mapper) software
Matched Files: /sbin/vgscan |
|
|
Back to top |
|
|
SarahS93 l33t
Joined: 21 Nov 2013 Posts: 730
|
Posted: Fri Oct 18, 2024 6:40 pm Post subject: |
|
|
Thanks a lot! |
|
Back to top |
|
|
|