Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
local rsync mirror
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Fri Aug 26, 2005 7:36 pm    Post subject: local rsync mirror Reply with quote

I set a local rsync mirror according to:[url] http://www.gentoo.org/doc/en/rsync.xml[/url] but it's not working (properly).

When I run emerge sync on a client machine I get:
Code:

# emerge sync
>>> starting rsync with rsync://192.168.1.100/gentoo-portage...
>>> checking server timestamp ...
receiving file list ...
1 file to consider

Number of files: 1
Number of files transferred: 0
Total file size: 32 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 203
Total bytes read: 68

wrote 203 bytes  read 68 bytes  542.00 bytes/sec
total size is 32  speedup is 0.12

>>>
>>> SERVER OUT OF DATE: rsync://192.168.1.100/gentoo-portage
>>>

>>> retry ...


How can I solve this?
Thanks!
Back to top
View user's profile Send private message
ponzur
n00b
n00b


Joined: 26 Aug 2005
Posts: 6

PostPosted: Fri Aug 26, 2005 8:38 pm    Post subject: Reply with quote

Try using the howto for setting up local rsync mirrors :wink:
http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror
Back to top
View user's profile Send private message
zgredek
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 186

PostPosted: Fri Aug 26, 2005 8:58 pm    Post subject: Reply with quote

ponzur wrote:
Try using the howto for setting up local rsync mirrors :wink:
http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror


But it's the same.
Tell me how the section 4: 4. Setting up your own local rsync mirror from the mentioned guide is difefrent from the wiki page?

And it DOES NOT work neither...

Anyone?
Back to top
View user's profile Send private message
ponzur
n00b
n00b


Joined: 26 Aug 2005
Posts: 6

PostPosted: Fri Aug 26, 2005 10:00 pm    Post subject: Reply with quote

I'm currently reinstalling all of my gentoo boxes and have done the configure of rsync following the wiki page. There wasn't any problems last time, but I'll dropp a line tomorrow when I'm done testing it.
Back to top
View user's profile Send private message
ponzur
n00b
n00b


Joined: 26 Aug 2005
Posts: 6

PostPosted: Sat Aug 27, 2005 7:10 pm    Post subject: Reply with quote

It looks like everything is working now. It took a while because the rsyncd initscript was broken, it said that rsyncd was started despite the fact that it was not. :?
Back to top
View user's profile Send private message
ponzur
n00b
n00b


Joined: 26 Aug 2005
Posts: 6

PostPosted: Sat Aug 27, 2005 8:32 pm    Post subject: Reply with quote

Code:
>>> SERVER OUT OF DATE: rsync://192.168.1.100/gentoo-portage

According to https://forums.gentoo.org/viewtopic-t-364300.html and https://forums.gentoo.org/viewtopic-t-370211.html
it could be so that the mirror you are syncing your mirror against is bad. If you chage your SYNC line in /etc/make.conf to
Code:
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
delete your /usr/portage (could be a good idea to save /usr/portage/distfiles) and then do an
Code:
emerge --sync
it could fix it. I don't know if it will, but at least it's not dangerous :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum