Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]emerge --sync fails!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rpil
Guru
Guru


Joined: 23 May 2008
Posts: 314

PostPosted: Wed Oct 03, 2012 11:02 pm    Post subject: [SOLVED]emerge --sync fails! Reply with quote

I tried to do emerge --sync in a new install (without X) and I cannot sync at all!
This is the message:

Code:
# emerge --sync
!!! getaddrinfo failde for 'rsync': [Ettno -2] Na me or service not known
>>> Starting rsync with rsync://rsync/gentoo.gr/gentoo-portage...
>>> Checking server timestamp ...
rsync: getaddrinfo: rsync 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]
>>> Retrying...
!!! Exhausted addresses for rsync


I changed the rsync mirror address, but with no luck.
In the same time, I'm able to emerge packages, but when I give emerge --sync or eix-sync, syncing fails with the above message.
What is this mean?


Last edited by rpil on Thu Oct 04, 2012 6:30 am; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Wed Oct 03, 2012 11:59 pm    Post subject: Reply with quote

What is the value of your SYNC variable in make.conf? It should look something like this (replace XX with a country code if you want or omit it):
Code:
SYNC="rsync://rsync.XX.gentoo.org/gentoo-portage"
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Oct 04, 2012 12:30 am    Post subject: Reply with quote

Here in the US sync will work fine without SYNC variable set. From Gentoo docs:

Quote:
Note: If you want to manually set a SYNC server in make.conf, you should check out the community mirrors list for the mirrors closest to you. We recommend choosing a rotation, such as rsync.us.gentoo.org, rather than choosing a single mirror. This helps spread out the load and provides a failsafe in case a specific mirror is offline.

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rpil
Guru
Guru


Joined: 23 May 2008
Posts: 314

PostPosted: Thu Oct 04, 2012 6:30 am    Post subject: Reply with quote

Thanks, guys, the rsync parameter was set wrongly. Somewhere between the address there was a "slash"! Now it syncs fine!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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