RE: [newbie] HOW TO: Create Local mirror of main, contrib updates ??

2004-06-16 Thread Jamie Kerwick
Hi Bryan,

Thanks for this, I now have a fully working local mirror of main,
contrib, jpackage and updates! (weighing it at just over 7GB, as its
RPMS only, (no source RPMS).

Next thing is to get my PLF mirror up and running. I noticed that they
have a link on their site for if you would like to mirror their
repository. However, it reads to me as though its for public mirroring.
My site is meant for internal use only (the server isn't accessible to
the outside world), would I still be permitted to use their rsync ??

Ta,

Jamie



[EMAIL PROTECTED]
ITS
Internal Extension : 5806
Direct Dial: 0870 754 5806

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan Phinney
Sent: 15 June 2004 14:41
To: [EMAIL PROTECTED]
Subject: Re: [newbie] HOW TO: Create Local mirror of main, contrib 
updates ??

On Tuesday 15 June 2004 09:08 am, Jamie Kerwick wrote:

 Has anyone managed to get a local mirror working ?? If so, can you let

 me know how you achieved this?? (oh and how much disk-space is used)

Yes.  Using Rsync, there are instructions for doing so on the
Mandrakelinux download site.  The mirror size totally depends on what
you mirror.  You can mirror the Official files, Community files, Cooker
files, ISO Files, and Updates separately.  There is also the optional
Contrib section, PLF repository, and a few others.

If you want pretty much everything, plan on about 16GB.
--
Bryan Phinney
Software Test Engineer


** E-mail Disclaimer **

This e-mail message is confidential and for use by the addressee only.  If the message 
is received by anyone other than the addressee, please return the message to the 
sender by replying to it and then delete the message from your computer.  Please note 
that any views, or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of The Benenden Healthcare Society Limited.  
The recipient should check this e-mail and any attachments for the presence of 
viruses.  The Benenden Healthcare Society Limited accepts no liability for any damages 
caused by any virus transmitted by this email and its attachments. The Benenden 
Healthcare Society Limited is regulated by the Financial Services Authority (FSA) and 
is an Incorporated Friendly Society, registered under the Friendly Societies Act 1992. 
Registered No: 480F. 

The Benenden Healthcare Society Limited, Registered Office: Holgate Park Drive, York, 
YO26 4GG. Tel 0870 7545 700  Fax 0870 7545 821  www.benenden.org.uk.

***


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] HOW TO: Create Local mirror of main, contrib updates ??

2004-06-16 Thread Brant Fitzsimmons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bryan Phinney wrote:
On Tuesday 15 June 2004 09:08 am, Jamie Kerwick wrote:
 

Has anyone managed to get a local mirror working ?? If so, can you let
me know how you achieved this?? (oh and how much disk-space is used)
   

Yes.  Using Rsync, there are instructions for doing so on the Mandrakelinux 
download site.  The mirror size totally depends on what you mirror.  You can 
mirror the Official files, Community files, Cooker files, ISO Files, and 
Updates separately.  There is also the optional Contrib section, PLF 
repository, and a few others.

If you want pretty much everything, plan on about 16GB.
Proxad doesn't support rsync.
I have a local mirror and I use the follwing in a shell script:
rsync -auvLP --delete 
mirrors.usc.edu::mandrakelinux/devel/community/i586/ 
/home/brant/mandrake/community/i586/

This grabs everything (main, contrib, updates [are contained in main]) 
for Community Edition.

It works well for me.  Very fast.
- -- 
Brant Fitzsimmons
[EMAIL PROTECTED]
- ---
Linux user #322847 | Linux machine #207465 | http://counter.li.org/
Mandrake 10.0 for i586, kernel 2.6.3-13mdk
13:15:00 up 1 day, 2:40, 1 user, load average: 1.46, 1.95, 2.15
- ---
Press on: nothing in the world can take the place of
perseverance. Talent will not; nothing is more common than
unsuccessful men with talent. Genius will not; unrewarded genius
is almost a proverb. Education will not; the world is full of
educated derelicts. Persistence and determination alone are
omnipotent.
-Calvin Coolidge

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFA0IIJDpzwx2t8E5gRAvMDAKCgQ800xv4JKXtmimIcs5YHigGtfgCfZ/W7
NIZPELvu8j3hSZHToj9u9vk=
=eEXe
-END PGP SIGNATURE-

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] HOW TO: Create Local mirror of main, contrib updates ??

2004-06-15 Thread Jamie Kerwick
Hi there, 

I am attempting to create a local mirror of the main, contrib  updates
files (RPMS only, no SRPMS) using 'mirror'.

I have so far been unable to get it to download files recursively. I
only get the contents of the i586 directory.

Here is my config:

package=PackageName
comment=MyComments go here
site=ftp.proxad.net
remote_dir=/pub/Distributions_Linux/Mandrakelinux/official/10.0/i586/
local_dir=/path/to/local/mirror/
Recursive=true

I suspect it may be a problem with flags_recursive as this is unset so
defaults to -lRat. If I ftp manually an do ls -lRat I do just get a list
of files in the i586 directory and no-recursion.

Has anyone managed to get a local mirror working ?? If so, can you let
me know how you achieved this?? (oh and how much disk-space is used)

Thanks,

Jamie



[EMAIL PROTECTED]
ITS
Internal Extension : 5806
Direct Dial: 0870 754 5806


** E-mail Disclaimer **

This e-mail message is confidential and for use by the addressee only.  If the message 
is received by anyone other than the addressee, please return the message to the 
sender by replying to it and then delete the message from your computer.  Please note 
that any views, or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of The Benenden Healthcare Society Limited.  
The recipient should check this e-mail and any attachments for the presence of 
viruses.  The Benenden Healthcare Society Limited accepts no liability for any damages 
caused by any virus transmitted by this email and its attachments. The Benenden 
Healthcare Society Limited is regulated by the Financial Services Authority (FSA) and 
is an Incorporated Friendly Society, registered under the Friendly Societies Act 1992. 
Registered No: 480F. 

The Benenden Healthcare Society Limited, Registered Office: Holgate Park Drive, York, 
YO26 4GG. Tel 0870 7545 700  Fax 0870 7545 821  www.benenden.org.uk.

***


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] HOW TO: Create Local mirror of main, contrib updates ??

2004-06-15 Thread Bryan Phinney
On Tuesday 15 June 2004 09:08 am, Jamie Kerwick wrote:

 Has anyone managed to get a local mirror working ?? If so, can you let
 me know how you achieved this?? (oh and how much disk-space is used)

Yes.  Using Rsync, there are instructions for doing so on the Mandrakelinux 
download site.  The mirror size totally depends on what you mirror.  You can 
mirror the Official files, Community files, Cooker files, ISO Files, and 
Updates separately.  There is also the optional Contrib section, PLF 
repository, and a few others.

If you want pretty much everything, plan on about 16GB.
-- 
Bryan Phinney
Software Test Engineer


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] HOW TO: Create Local mirror of main, contrib updates ??

2004-06-15 Thread Johan Sch
On Tue, 15 Jun 2004 09:40:56 -0400
Bryan Phinney [EMAIL PROTECTED] wrote:

 On Tuesday 15 June 2004 09:08 am, Jamie Kerwick wrote:
 
  Has anyone managed to get a local mirror working ?? If so, can you let
  me know how you achieved this?? (oh and how much disk-space is used)
 
 Yes.  Using Rsync, there are instructions for doing so on the Mandrakelinux 
 download site.  The mirror size totally depends on what you mirror.  You can 
 mirror the Official files, Community files, Cooker files, ISO Files, and 
 Updates separately.  There is also the optional Contrib section, PLF 
 repository, and a few others.
 
 If you want pretty much everything, plan on about 16GB.
 -- 
 Bryan Phinney
 Software Test Engineer
 
There is a application .. dalziel-1.2 .. explicitly created for mandrake mirroriring  
when I last looked into this.
You could create your own script with rsync and create include/exclude files and use 
rsync friendly sites. I have done this in suse 9.0. It is not that complicated once 
you got the hang of it.

here is a example of the rsync command I used in suse..
rsync -auvv  --stats --delete --exclude-from=/home/internet/test-ftp/-gwdg-exclude 
ftp.gwdg.de::pub/linux/suse/ftp.suse.com/suse/i386/update/9.0/. 
/var/lib/YaST2/you/mnt/i386/update/9.0/.

Here is one I use to list kernels..in mdk10..
rsync -auvv --stats --exclude-from=/home/internet/Test-kernels/files-exclude \
 ftp.sunet.se::pub/Linux/distributions/mandrakelinux/official/updates/10.0/RPMS/.
The ..files-exclude.. look like this..

+ kernel-2.6.3*.rpm
+ kernel-source-2.6.3*.rpm
- *.*

This may give you some idea what could be done by yourself..but look into dalziel.
HTH
-- 
Johan Sch
Registered Linux User #33034
May this be a good day for learning


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com