Re: copying entirely repos

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

 



yordy wrote, On 12/17/2007 02:21 PM:
i can't get rsync running, i'm behind a proxy server, export the http_proxy (yum connect to repos fine) server variable and run:

1- [ytornes@localhost i386]$ rsync -av --list-only --partial --stats download.fedora.redhat.com:pub/fedora/linux/updates/8/i386 ./
    ssh: connect to host download.fedora.redhat.com port 22: No route to host
    rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
    rsync error: unexplained error (code 255) at io.c(453) [receiver=2.6.9]

2- [ytornes@localhost i386]$ rsync -av --list-only --partial --stats download.fedora.redhat.com::pub/fedora/linux/updates/8/i386 ./
    rsync: failed to connect to download.fedora.redhat.com: Connection refused (111)
    rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]

rsync don't support http or ftp protocols

any idea?


man wget

wget -a mlog --progress=dot:mega -v --mirror --no-parent \
 http://download.fedora.redhat.com/pub/fedora/linux/updates/8/i386

wget also works with ftp.

I kind of prefer:
wget -a mlog --progress=dot:mega -nv --mirror --no-parent \
 --no-host-directories --cut-dirs=1 \
 ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/i386

so the files get placed in ./fedora/linux/updates/8/i386 instead of ./download.fedora.redhat.com/pub/fedora/linux/updates/8/i386 which can make life easier if you later desire to switch to using a mirror that is closer too you (or just plain faster).

Also I could be wrong, but i get the impression that wget gets better info about the need to update a local file from ftp than it does from http, so I use ftp when possible.

----- Mensaje original ----
De: Axel Thimm <Axel.Thimm@xxxxxxxxxx>
Para: yordy <ymedians@xxxxxxxx>; For users of Fedora <fedora-list@xxxxxxxxxx>
Enviado: domingo, 16 de diciembre, 2007 4:29:02
Asunto: Re: copying entirely repos

On Fri, Dec 14, 2007 at 06:33:39PM +0000, yordy wrote:
hi, i need to make a local copy of some repos (atrpms, updates,
freshrpms, etc.). i move for one place to another and some time
don't have an internet connection, i want update my local copies
when i reach an internet connection. how can i do that?, mirroring
those repos?

I would recommend using rsync.


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux