Re: copying entirely repos

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

 



Finally I'm sync my repos with reposync, I can't connect to a ftp (lftp) or rsync throw my proxy server... yesterday I star downloading Fedora updates repo to a local directory, here is the command that I'm running:

reposync --repoid=updates -n -p /media/disk-1/repos/

reposync create a folder with the same name of repoid inside /media/disk-1/repos/, I shutdown my PC yesterday night, today in the morning I star again downloading updates repo to the same dir of yesterday (/media/disk-1/repos/) where updates folder exists because was created by reposync yesterday. reposync say:

[updates: 1     of 1700  ] Downloading 8Kingdoms-1.1.0-2.fc8.i386.rpm

Where 8Kingdoms-1.1.0-2.fc8.i386.rpm is the first package of updates repo, downloaded yesterday by reposync. reposync keep trying to download that package for a long long long time and don't download anything.

I read man page and don't see any other option that say to reposync that don't download previously downloaded package.

Any idea?

----- Mensaje original ----
De: Nataraj <incoming-fedora-list@xxxxxxx>
Para: yordy <ymedians@xxxxxxxx>; For users of Fedora <fedora-list@xxxxxxxxxx>
Enviado: martes, 18 de diciembre, 2007 15:52:09
Asunto: Re: copying entirely repos

On Mon, 2007-12-17 at 19:21 +0000, yordy wrote:
> 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?

Hi Yordy,

You need to connect to an rsync server.  Also, check your syntax on the
rsync url..  Try this one:

rsync -av --list-only --partial --stats
 rsync://mirrors.kernel.org/fedora/updates/8/i386 ./


Nataraj

> 
> ----- 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.
> -- 
> Axel.Thimm at ATrpms.net
> 
> 
> 
> 
> 
>        
> ______________________________________________ 
> ¿Chef por primera vez?
> Sé un mejor Cocinillas. 
> http://es.answers.yahoo.com/info/welcome
> 






       
______________________________________________ 
¿Chef por primera vez?
Sé un mejor Cocinillas. 
http://es.answers.yahoo.com/info/welcome


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

  Powered by Linux