On Sb, 20 iun 20, 14:05:22, Ihor Antonov wrote: > On Saturday, 20 June 2020 05:32:41 PDT John Hasler wrote: > > Ihor writes: > > > I wish there was a way to do it without using a web browser. Is there > > > some sort of CLI interface to packages.debian org? > > > > Do you specifically require a command line interface, or just a text > > one? They are not the same thing. If the latter use a text browser > > such as Lynx. If the former perhaps the -c and/or -o options for > > apt-cache might be interesting. > > I want some sort of API, something I can potentially automate. > Lynx does not really fit that requirement. If anything, I'd rather do it with > curl.. but this is too low level. In order of suitability and complexity, as far as I understood your needs: 1. rmadison 2. apt-file 3. APT ('apt cache' or 'apt-cache'), by adding sources for all releases you are interested in (pinned to -1 if necessary). Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
Attachment:
signature.asc
Description: PGP signature