[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: build self-contained repository for offline use

On Tue, Jul 05, 2011 at 10:52:02PM +0200, Paul Wise wrote:
> One of apt-zip/aptoncd/apt-offline might meet your needs.

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.


Reply to: