View previous topic :: View next topic |
Author |
Message |
kelvin34501 n00b
Joined: 05 Oct 2018 Posts: 11
|
Posted: Mon Nov 04, 2024 8:41 am Post subject: check use flags for available binpackages on binhost |
|
|
Is there a quick way to check the use flags for available binary packages given a package atom on the current binhost?
Currently, I download all binary package candidates and manually check the metadata. Does there exist any better way to do this? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2390
|
Posted: Mon Nov 04, 2024 9:33 am Post subject: |
|
|
You can grep /var/cache/edb/binhost/<mirror>/releases/amd64/binpackages/23.0/x86-64-v3/Package in the following way:
Code: | grep -A8 " dev-qt/qtwebengine" /var/cache/edb/binhost/ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/amd64/binpackages/23.0/x86-64-v3/Packages | grep -B1 "^--$" | grep -v "^--$" |
This will match the PATH line and the 8th line below it is the USE line.
It should work the same for other binhosts, e.g. x86_64-v3 or a custom one.
Best Regards,
Georgi |
|
Back to top |
|
|
kelvin34501 n00b
Joined: 05 Oct 2018 Posts: 11
|
Posted: Mon Nov 04, 2024 10:56 am Post subject: |
|
|
logrusx wrote: | You can grep /var/cache/edb/binhost/<mirror>/releases/amd64/binpackages/23.0/x86-64-v3/Package in the following way:
Code: | grep -A8 " dev-qt/qtwebengine" /var/cache/edb/binhost/ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/amd64/binpackages/23.0/x86-64-v3/Packages | grep -B1 "^--$" | grep -v "^--$" |
This will match the PATH line and the 8th line below it is the USE line.
It should work the same for other binhosts, e.g. x86_64-v3 or a custom one.
Best Regards,
Georgi |
Hope this could be in the wiki. Thank you very much! |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2390
|
Posted: Mon Nov 04, 2024 11:11 am Post subject: |
|
|
I think there are more civilized ways, but I don't remember them :)
I haven't actually needed it. When I emerge something, I always pass --verbose to emerge which leads to emerge giving me some extra output about what are my options to change use flags to accommodate the incompatible packages. It also gives me the setting for all the packages pulled in so I can immediately check their USE flags.
Best Regards,
Georgi |
|
Back to top |
|
|
|