On Mon, Mar 10, 2003 at 02:10:37AM -0500, sean finney wrote:
> On Sun, Mar 09, 2003 at 06:30:30PM -0700, Pete Ashdown wrote:
> > Has anyone know of a method for mirroring through apt?  I'm aware of
> > apt-move, but I can't seem to get it to do a complete mirror that grabs
> > everything and not just the distribution that I have in the sources.list.
> > It also creates empty directories for all the architectures, regardless of
> > whether they are actually used or not.
> 
> have you looked at the debmirror package?  it does this pretty well,
> and has examples at the bottom of the manpage.  however, i think
> it only does rsync and ftp.  wonder why it doesn't do http... 
Well http is not that easy to parse and handle when you try to mirror a
whole dir recursiv especially when directory index is forbidden.

If you intend to use debmirror I suggest to use it with debmirror-wrapper
http://people.debian.org/~absurd/debmirror-wrapper

Another solution might be apt-proxy but IIRC it uses rsync as backend.

If you want to mirror a apt rep wich is only avaible via http I suggest
to parse the packages file. I've written a short hack for Adrian Bunks
backports. Maybe this gives you the idea how to change it for your
special case.
http://hoaxter.telelev.net/debian/bunk-mirror.sh

Maybe it would be possible to mirror with apt-get --print-uris install <pattern
wich maches the whole archive you want> but aehm I don't think this is a good
choice.

HTH

Sven

-- 
Revolution is not a dinner party, not an essay, nor a painting, nor a piece of
embroidery; it cannot be advanced softly, gradually, carefully, considerately,
respectfully, politely, plainly, and modestly.
- Mao Zedong (Mao Tse-tung)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to