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

Re: Use apt to form a partial local mirror of Slink -- how?

On Wed, Mar 24, 1999 at 11:02:34AM -0700, Jason Gunthorpe wrote:
> On Wed, 24 Mar 1999, Mark Phillips wrote:
> > My second best option is to use nfs to symlink the laptop's
> > /var/cache/apt/archives to the desktop's.  This might work --- the
> > only problem here is that dselect-apt decides to delete all the files
> > in the cache!  How can I turn this off???
> This actually is the best option, there is no need to rebuild a directory
> structure, a flat directory will work just as well and is much easier for
> APT to manage. The latest APT in ptoat has an option to force dselect to
> not erase files.

I think that maintaining local partial mirror still has its merits.
I can slowly build it up when upgrading computers with apt, then I can
run fmirror at some point to make a complete mirror, that can be used to burn
a CD. Then I can continue on partial mirroring with apt.
Also I feel that local partial mirror is easier to share between several
computers as apt always treats it as read-only. (Mounting apt cache directory
doesn't work for me because broken NFS lock handling).

I have created another method (apt-mirror) for dselect
that will use apt to download package then copy them to local mirror tree
and then use apt again to install them.
It's slightly broken at the moment because of the changes in
apt 0.3.2. If anybody is interested in this, I can make it available.

Perhaps the best solution would be to integrate local partial mirror
capability into apt.
Or better yet to merge formats for apt cache (flat) and debian archive tree.

Perhaps the best solution would be to merge apt cache 

> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: