Re: How can I rsync this site successfully for updating my local rpm packages

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

 



On Tuesday 21 February 2006 15:44, Barry Yu wrote:
> I been trying to synchronize my /mnt/ms/fc4update folder with one of the
> sites in Fedora download mirror list but no luck, command I used is ; rsync
> --partial --timeout=300 -vprt --exclude debug/ \
>   rsync://ftp.ndlug.nd.edu/fedora-linux-core/updates/4 /mnt/ms/fc4update
>
>  And the result is like this;
>
>  receiving file list ... done
>  rsync: stat "/mnt/ms/fc4update/4/SRPMS" failed: No such file or directory
> (2) 4/SRPMS/
>  rsync: mkstemp "/mnt/ms/fc4update/4/SRPMS/.GFS-6.1.0-3.src.rpm.gxL1aQ"
> failed: No such file or directory (2) rsync: mkstemp
> "/mnt/ms/fc4update/4/SRPMS/.GFS-kernel-2.6.11.8-20050601.152643.FC4.14.src.
>rpm.P33hHe" failed: No such file or directory (2) rsync: mkstemp
> "/mnt/ms/fc4update/4/SRPMS/.GFS-kernel-2.6.11.8-20050601.152643.FC4.20.src.
>rpm.nUAxpF" failed: No such file or directory (2) rsync: mkstemp
> "/mnt/ms/fc4update/4/SRPMS/.HelixPlayer-1.0.6-1.fc4.2.src.rpm.djwbx8"
> failed: No such file or directory (2) (And many more like above, I have to
> press Ctrl+c to abort and got 2 lines like below) rsync error: received
> SIGUSR1 or SIGINT (code 20) at rsync.c(179) rsync error: received SIGUSR1
> or SIGINT (code 20) at rsync.c(179)
>
>  Am I doing anything wrong in the rsync command? How can I mirror a site
> for my local folder of rpm packages successfully? Thanks


If you are just trying to get the Updates, then the correct command is

rsync --partial --timeout=300  -vprt --exclude=debug/ \ 
rsync://ftp.ndlug.nd.edu/fedora-linux-core-updates/4/i386/\
/mnt/ms/fc4update/

Note the different source directory, and the terminating '/' on the URL's for 
both the source and destination directories.

Your command was picking up the entire directory for Fedora Base, including 
all the different versions.


-- 
Tony

Attachment: pgpSByD48VYLL.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux