Script to sync with repo

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



under 5.6 I have a script that runs every night to rsync the repodata 
for local installations.
I added the 6.0 to do the same.

Something seems wrong now for 6.0. I do the same thing and I get errors 
from my local repo at install time.
Seems like the cyrus-sasl package is never happy and aborts the 
installation.

Is something wrong with the script below? It seems like it successfully 
copies the files.
I ran it manually and did not see any errors.

Any thoughts?

Thanks,

Jerry

# The kickstart files point to the "repo"
#
# This file will creat the directories and copy the files
#
for VERSION in "5.6" "6.0"
do
        mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/RPMS
        mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/repodata

        rsync -av 
rsync://mirrors.kernel.org/mirrors/centos/$VERSION/updates/x86_64/RPMS/* 
/var/www/html/centos/$VERSION/updates/x86_64/RPMS
        rsync -av 
rsync://mirrors.kernel.org/mirrors/centos/$VERSION/updates/x86_64/repodata/* 
/var/www/html/centos/$VERSION/updates/x86_64/repodata
done
~                          
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux