[Yum] rsync syntax confusion
jcosta at lendleaserei.com
jcosta at lendleaserei.com
Fri Oct 10 19:06:55 UTC 2003
I'm trying to setup an internal FTP server for [base] and [updates] to
other internal RH9 boxen. From what I have read, there are two ways to do
this:
1) Get the RPMS trees from RH directly, and run yum-arch against the local
trees.
2) Rsync against the Duke repository.
I'm trying to do the latter, and cannot seem to nail the syntax for
mirroring. I'm assuming that I need to grab everything at the Yum headers
level and below (found at URL:
http://mirror.dulug.duke.edu/pub/yum-repository/redhat/9/i386/). Is that a
correct assumption? I only need
the RPMS, not iso's, SRPMS, etc...
Since the syntax is rsync -auv SERVERNAME::MODULE /local/ftp/path, how do I
know what MODULE name to choose at Duke? The
server lists several possibilities (archive, redhat-ftp, redhat-base,
redhat-beta, redhat-rawhide, redhat-updates, redhat-contrib), but
is redhat-base what I should choose for the base archive mirror? Or is
redhat-ftp my choice? What's the difference?
Finally, here is my failing rsync syntax for base. What am I doing wrong
here? It looks like the path after MODULE is wrong to me.
rsync -auv
mirror.dulug.duke.edu::redhat-base/pub/yum-repository/redhat/9.0/i386
/ftp/pub/9/base
-----------------------------------------
This email (including any attachments) is confidential. If you are not the intended recipient you must not copy, use, disclose, distribute or rely on the information contained in it. If you have received this email in error, please notify the sender immediately by reply email and delete the email from your system. Confidentiality and legal privilege attached to this communication are not waived or lost by reason of mistaken delivery to you. Lend Lease does not guarantee that this email or the attachment(s) are unaffected by computer virus, corruption or other defects. Lend Lease may monitor incoming and outgoing emails for compliance with its Email Policy. Please note that our servers may not be located in your country.
More information about the Yum
mailing list