You are not logged in.
Pages: 1
Topic closed
I tried using package-query:
package-query -As --qdepends webkit2gtk
But it only outputs AUR packages that have webkit2gtk in their description, not in their dependencies. What is the correct way to formulate the query?
(specifically for that command I expected midori-granite-bzr to be in the output but it isn't)
Last edited by CarbonFixer (2016-02-17 11:04:10)
Offline
Unfortunately this would require accessing all aur package infos and filtering all the entries. Not exactly server friendly.
https://wiki.archlinux.org/index.php/AurJson
Offline
Okay. Thanks for the info.
Offline
I can't think of any use case for which you'd want to check all aur packages. I can see many reasons why you may want to do this check for your locally installed packages (e.g. AUR packages you have installed) - and this can simply be done with pacman.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I can come up with a bunch. I do this all the time for official repo packages on the package page.
Offline
Offline
Or don't. It scrapes the AUR (server load) and I don't see it providing the information.
EDIT: Okay, this is getting ridiculous. Go to the AUR page, there is a "required by" section. If this is not enough and you need it automated, go to the bug tracker and open a request for aurweb to include this information in the json interface.
Last edited by Awebb (2016-02-18 08:16:01)
Offline
The 'required by' section only works if the package is in AUR. The package the OP was asking about is only in a official repository and thus only shows other official packages.
Offline
I think it's time to post on themailing list and ask a TU for help.
Offline
CarbonFixer> What are you trying to achieve here? Why do you need such request?
Offline
As an aside, from my inquiries I've seen little objections from stressing the AUR RPC ... e.g. cower does it as well.
Either way, I agree this is an XY problem.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
karol wrote:Or don't. It scrapes the AUR (server load) and I don't see it providing the information.
Xyne posted an alternative in the comments on that AUR page: http://xyne.archlinux.ca/projects/python3-aur/
Offline
For example, this can be useful to search for unexistent packages. Some aur packages have "red" dependencies - they are not present in the AUR. And you may want to search all packages that require that package.
Another example - after you renamed a package in the aur, you want to check if some packages still depend on the old name (that become unexistent, page is 404, so you cannot see "Required by" field in the web page) to notify other packages maintainers.
This is possible with https://wiki.archlinux.org/title/Aurweb_RPC_interface.
For example, kde-servicemenus-encfs was renamed to kf5-servicemenus-encfs. The check can be done with the following urls:
https://aur.archlinux.org/rpc/v5/search/kde-servicemenus-encfs?by=depends
https://aur.archlinux.org/rpc/v5/search/kde-servicemenus-encfs?by=optdepends
https://aur.archlinux.org/rpc/v5/search/kde-servicemenus-encfs?by=makedepends
https://aur.archlinux.org/rpc/v5/search/kde-servicemenus-encfs?by=checkdepends
--
I know this is an old post, but still it is shown in search, so I added info that was not there.
I do not see a sense in the rule "do not necrobump".
Offline
The problems with 'necrobump' are multifaceted.
First off, the original poster has not been on the forums for four years. They probably don't care anymore.
Second, although not applicable in this case, the Linux ecosystem changes fast and years later, the baseline will move so far that we are comparing apples to oranges.
Closing this old thread
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed