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

Re: build self-contained repository for offline use

Am Mittwoch, den 06.07.2011, 04:11 -0400 schrieb Hamish Moffatt:
> 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.

If you have enough bandwidth and disk space, you could use apt-mirror to
store a complete mirror locally (takes around 30 GB for one

Benjamin Drung
Debian & Ubuntu Developer

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: