| View previous topic :: View next topic |
| Author |
Message |
rpil Apprentice


Joined: 23 May 2008 Posts: 210
|
Posted: Wed Oct 03, 2012 11:02 pm Post subject: [SOLVED]emerge --sync fails! |
|
|
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 |
|
 |
chithanh Developer

Joined: 05 Aug 2006 Posts: 1388 Location: Berlin, Germany
|
Posted: Wed Oct 03, 2012 11:59 pm Post subject: |
|
|
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 |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3971 Location: Saint Amant, Acadiana
|
Posted: Thu Oct 04, 2012 12:30 am Post subject: |
|
|
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.
|
_________________ Please learn how to denote units correctly! |
|
| Back to top |
|
 |
rpil Apprentice


Joined: 23 May 2008 Posts: 210
|
Posted: Thu Oct 04, 2012 6:30 am Post subject: |
|
|
| Thanks, guys, the rsync parameter was set wrongly. Somewhere between the address there was a "slash"! Now it syncs fine! |
|
| Back to top |
|
 |
|