:: Re: [DNG] Download a package, maybe…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Bob Proulx
Date:  
À: dng
Sujet: Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.
Hendrik Boom wrote:
> I need to download a package to install on a machine that is currently
> air-gapped.


I know you have already solved your problem. But for the future you
might consider the apt-offline package.

    $ apt-cache show apt-offline                                                                                                                                                         
    Package: apt-offline
    Depends: python3:any, apt, less, python3-magic
    Description-en: offline APT package manager
     apt-offline is an Offline APT Package Manager.
     .
     apt-offline can fully update and upgrade an APT based distribution without
     connecting to the network, all of it transparent to APT.
     .
     apt-offline can be used to generate a signature on a machine (with no network).
     This signature contains all download information required for the APT database
     system. This signature file can be used on another machine connected to the
     internet (which need not be a Debian box and can even be running windows) to
     download the updates.
     The downloaded data will contain all updates in a format understood by APT and
     this data can be used by apt-offline to update the non-networked machine.
     .
     apt-offline can also fetch bug reports and make them available offline.


Bob