Re: ..mirror script: woody deb mirror for i386, how to exclude the rest?
On Mon, Sep 08, 2003 at 01:01:17PM +0200, Arnt Karlsen wrote:
> On Mon, 8 Sep 2003 18:01:41 +1000,
> Craig Sanders <firstname.lastname@example.org> wrote in message
> > On Mon, Sep 08, 2003 at 09:52:32AM +0200, Arnt Karlsen wrote:
> > > ..in my mirror I like main, non-US, non-free and contrib for
> > > Woody/3.0r1. So I try to script a mirror for i386 Woody,
> > > should make a nice 4.2 GB mirror, how do I exclude the rest
> > > of the about 80 GB?:
> > use debmirror.
> > Package: debmirror
> ..uh, I should have mentioned this an isp box running Red Hat-7.3,
> so testing or unstable is not acceptable,
debmirror can mirror stable, testing, and/or unstable. i only use
unstable so i only mirror unstable.
use the appropriate command line options to mirror just what you need....which
should be as simple as changing 'unstable' to 'stable' in that little shell
script i posted.
> ..the idea is use this box to roll out woody, and then chroot-install
> woody onto this box to minimize downtime. I'll check the debmirror
> source for ideas though.
debmirror is a perl script. it should run on redhat as long as all the
required modules are installed.
you can download it from your nearest debian mirror. 'alien' may be able to
convert it to an rpm for you (dunno, i never use alien).