Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223803

Re: CLI interface to packages.debian.org

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: CLI interface to packages.debian.org
Date 2020-06-21 08:10 +0200
Message-ID <Ak1l0-14x-7@gated-at.bofh.it> (permalink)
References <AjHcC-5EC-5@gated-at.bofh.it> <AjKWR-7UK-11@gated-at.bofh.it> <AjSUq-4m7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

CLI interface to packages.debian.org Ihor Antonov <ihor@antonovs.family> - 2020-06-20 10:40 +0200
  Re: CLI interface to packages.debian.org l0f4r0@tuta.io - 2020-06-20 11:10 +0200
    Re: CLI interface to packages.debian.org <tomas@tuxteam.de> - 2020-06-20 11:30 +0200
      Re: CLI interface to packages.debian.org Ihor Antonov <ihor@antonovs.family> - 2020-06-20 23:10 +0200
  Re: CLI interface to packages.debian.org Roberto C. Sánchez <roberto@debian.org> - 2020-06-20 13:20 +0200
    Re: CLI interface to packages.debian.org Jude DaShiell <jdashiel@panix.com> - 2020-06-20 17:10 +0200
      Re: CLI interface to packages.debian.org Ihor Antonov <ihor@antonovs.family> - 2020-06-20 23:10 +0200
        Re: CLI interface to packages.debian.org Roberto C. Sánchez <roberto@debian.org> - 2020-06-21 01:00 +0200
          Re: CLI interface to packages.debian.org Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-21 08:00 +0200
        Re: CLI interface to packages.debian.org Jude DaShiell <jdashiel@panix.com> - 2020-06-21 03:10 +0200
  Re: CLI interface to packages.debian.org John Hasler <jhasler@newsguy.com> - 2020-06-20 14:40 +0200
    Re: CLI interface to packages.debian.org Ihor Antonov <ihor@antonovs.family> - 2020-06-20 23:10 +0200
      Re: CLI interface to packages.debian.org Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-21 08:10 +0200

csiph-web