:: Re: [DNG] Download a package, maybe…
Página Inicial
Delete this message
Reply to this message
Autor: Ralph Ronnquist
Data:  
Para: dng
Assunto: Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.
On Wed, 18 Aug 2021 19:01:09 -0400
Hendrik Boom <hendrik@???> wrote:

> I need to download a package to install on a machine that is
> currently air-gapped.
>
> I have to download an i386 package for chimaera on an AMD64 beowulf
> machine.
>
> I'll be transferring that package by sneakernet, and then installing
> it using dpkg..
> If it turns out to have dependencies, I'l have to repeat the process
> for those dependencies.
>
> How do I go about doing the download?


One "easy access" approach is to use https://pkginfo.devuan.org to
locate the package (deb) concerned, and then download it/them via the
link(s) provided on the package content page(s). That also provides
links for dependencies.

If you want to script it, you might use the XML access variation, e.g.
like these for a bash:i386 index of packages, and the content page for
the version 5.0-4
https://pkginfo.devuan.org/cgi-bin/policy-query.xml?c=package&q=bash%3Ai386
https://pkginfo.devuan.org/cgi-bin/package-query.xml?c=package&q=bash:i386=5.0-4

The XML response is friendlier for scripting. The access URLs are
pretty much the same as for HTML but different.

Ralph.