Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-11-2010, 12:55 PM   #1
Registered: Feb 2007
Posts: 75

Rep: Reputation: 16
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
results in error code 12, error in rsync protocol data stream

rsync -avrt --rsh
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 did a straight copy changing were they had 8 in the command to 13 of their example.
rsync -avrt rsync:// /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:// 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
Registered: Feb 2010
Location: SD Bay Area
Posts: 213

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.


bash-4.1$ rsync rsync://
Welcome to the archives.

If have any unusual problems, please report them via e-mail to

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
Registered: Feb 2007
Posts: 75

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

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

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

Rep: Reputation: 34
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.

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



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 + rsync: fatal: 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

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