Re: build self-contained repository for offline use
On Wed, Jul 6, 2011 at 10:11 AM, Hamish Moffatt wrote:
> Thanks all for the replies. I checked out apt-zip, apt-offline, aptoncd,
> CDD and apt-clone. None of them really suited my needs, as I want to
> generate this repository automatically, and want to do a whole class of
> target systems which will have a baseline set of packages installed.
> Anyway I've found it's pretty easy to roll my own using python-apt and
> configuring apt to use alternate locations for the cache, dpkg status
> file etc. I feed in the dpkg status file from my baseline install, a
> sources.list and a list of packages I want to be installable, and I can
> easily download the files. Then use apt-ftparchive to generate the
> metadata and I'm done.
It would be great if you could publish your script, maybe it could be
included in some package, like as an example in python-apt?