[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Re: up2date problem SOLVED



Jack wrote:

Ok, I would appreciate it if anybody could tell me what I am doing wrong
here.

[root server root]# /usr/bin/rsync --verbose --progress --stats
--archive --delete --exclude debug/ --exclude SRPMS/ --partial
k12linux.mesd.k12.or.us::yum/fedora/
/home/mirror/yum-repository/fedora/k12ltsp/
@ERROR: Unknown module 'yum'
rsync: connection unexpectedly closed (41 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

I am trying to build my own local yum repositories but not having much
luck with the k12ltsp parts.

Jack




Jack,


Here is what I use in my script... I'd appreciate it if someone tells me if I am doing something wrong as well. I exclude the RPMS and SRPMS for the OS (I'm getting these from another source). I think apt and yum repositories are interchangeable if they have been set up for both.

/usr/bin/rsync --verbose --progress --stats --archive --delete --exclude RPMS.os
/ --exclude SRPMS.os/ --partial k12linux.mesd.k12.or.us::K12LTSP-apt/fedora/
/var/www/html/mirror/K12LTSP


<the above should be all one line>
A quick look at what rsync modules on the k12linux.mesd.k12.or.us site shows:


[nickbenj eclipse mirror]$ rsync k12linux.mesd.k12.or.us::K12LTSP-apt/fedora/
drwxrwsr-x 4096 2004/01/18 19:46:15 .
drwxrwsr-x 8192 2003/12/16 17:10:43 RPMS.k12ltsp
drwxrwsr-x 4096 2004/01/18 19:44:43 RPMS.non-free
drwxr-xr-x 61440 2003/12/16 17:11:31 RPMS.os
drwxrwsr-x 4096 2004/01/18 18:51:22 RPMS.updates
drwxrwsr-x 8192 2003/12/16 17:10:59 SRPMS.k12ltsp
drwxrwsr-x 4096 2003/12/07 12:43:46 SRPMS.non-free
drwxrwsr-x 8192 2003/12/12 10:13:02 SRPMS.os
drwxrwsr-x 4096 2004/01/18 18:51:35 SRPMS.updates
drwxrwsr-x 4096 2004/01/18 19:49:10 base
drwxrwsr-x 65536 2004/01/18 19:46:14 headers


hth,
Ben








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]