LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2010, 12:55 PM   #1
TheB2B
Member
 
Registered: Feb 2007
Posts: 71

Rep: Reputation: 15
rsync repo creation


New to this world, and my problem is creating a local repo to both install fedora 13 and run yum upgrades against the repo. So I need to be able to sync with a mirror for updates and a complete install repo. FYI: class project.

Copied the contents of the DVD to folder on my server, /var/www/http/fedora/XXXX/XXX ... etc Update folder is in this same structure.

Researched, googled, cruised this forum for hours still don't have the proper usage of rsync, below is some of the commands i used, short story is none have worked I keep getting error codes or nothing happens, codes are 10, 12, or 23 depending on the syntax of the command I attempt to rsync with.

# rsync -avrt rsync:mirror.leaseweb.com/.....
results in error code 12, error in rsync protocol data stream

rsync -avrt --rsh rsync:mirror.leaseweb.com/.....
No error code returned but all that occurs is list of .rpm in my repo folder, with a message "received 13 bytes" but nothing has changed.

Then from a how-to located at http://www.howtoforge.com/setting-up...sitory-fedora8 did a straight copy changing were they had 8 in the command to 13 of their example.
rsync -avrt rsync://ftp-stud.hs-esslingen.de/fedora/linux/releases/13/Everything/i386/os/Packages/ /var/www/html/fedora/base/13/i386
Time out error.

Tried to use -e ssh get prompted for a password, tried password and anonymous, of course it failed. I May be new but not surprised I wouldn't let folks in either.
Tired --rsh=ssh, get a code 23.

Tired rsync://ftp:mirror.leasweb.com/.... error code 10, Name or service unknown - guessing at this point for the proper syntax at this point.

Any suggestions on how to sync up a local repo with a remote, better tool, what am I missing here ... ete, etc.

Oh the goal if your all wondering to use kickstart files to install servers and workstations from a local repo. Kickstart is easy this hasn't been ... yet.
 
Old 09-11-2010, 06:04 PM   #2
lazardo
Member
 
Registered: Feb 2010
Location: SF Bay Area
Posts: 181

Rep: Reputation: Disabled
googled 'rsync fedora release 13 repository'.

First hit was 'Fedora - MirrorManager' which has a list of repositories, some of which are marked 'rsync'. It might be useful to look for examples of how rsync repositories work.

Cheers,

Quote:
bash-4.1$ rsync rsync://ftp-stud.hs-esslingen.de/fedora/linux/
Welcome to the ftp-stud.hs-esslingen.de archives.

If have any unusual problems, please report them via e-mail to
rsync@ftp-stud.hs-esslingen.de.

All transfers are logged.
If you don't like this policy, then disconnect now.
This server does not support --checksum (-c)
This server does not support --compress (-z)


drwxr-xr-x 4096 2007/05/21 14:37:48 .
drwxr-xr-x 4096 2006/10/17 05:46:37 core
drwxr-xr-x 4096 2010/07/31 12:06:42 development
drwxrwxr-x 4096 2009/05/15 14:58:30 extras
drwxr-xr-x 4096 2010/05/19 15:08:21 releases
drwxrwsr-x 4096 2010/08/27 12:54:20 updates
 
Old 09-12-2010, 02:33 PM   #3
TheB2B
Member
 
Registered: Feb 2007
Posts: 71

Original Poster
Rep: Reputation: 15
Determine the source of the problem ... ME!

Sorry guys. Problem - I had to open correct port on my network firewall.

DOO!
 
Old 09-13-2010, 03:56 AM   #4
tommyttt
Member
 
Registered: Oct 2009
Location: Federal Way, WA
Distribution: openSUSE 11.4 x86_64, openSuSE 12.1, Fedora 15
Posts: 207

Rep: Reputation: 34
Quote:
Originally Posted by TheB2B View Post
Determine the source of the problem ... ME!

Sorry guys. Problem - I had to open correct port on my network firewall.

DOO!
Please mark thread as solved. Don't be embarrassed, we've all learned by the same type of mistake.

Tom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync solaris + ld.so.1: rsync: fatal: libiconv.so.2: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 04:23 AM
not getting the latest packages with rsync from a public fedora repo Yaniv-Fer Linux - General 2 11-05-2008 12:23 PM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 01:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 01:29 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 04:49 PM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration