Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Error when trying emerge --sync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kovadom
n00b
n00b


Joined: 20 Oct 2011
Posts: 3

PostPosted: Thu Oct 20, 2011 2:34 pm    Post subject: [SOLVED] Error when trying emerge --sync Reply with quote

I'm trying to install gentoo now and i'm working the online tutorial

When i'm trying the following command:
emerge --sync

I get the following error
Code:
@ERROR: unknown module `metadata`
rsync error: error starting client-server protocol (code 5) at main.c(1516) [Reciver=3.0.8]
>> Retrying..
!! exhausted address for rsync8.de.gentoo.org


Now i've tried couple different rsync mirrors.
here's the SYNC env in my /etc/make.conf
Code:
SYNC="rsync8.de.gentoo.org"


any help would be much appreciated.


Last edited by kovadom on Fri Oct 21, 2011 3:37 am; edited 1 time in total
Back to top
View user's profile Send private message
kovadom
n00b
n00b


Joined: 20 Oct 2011
Posts: 3

PostPosted: Thu Oct 20, 2011 3:35 pm    Post subject: Reply with quote

Ok I tried to re-initialize my environment, but now I get a different error:

Code:
 # emerge --sync
!!! getaddrinfo failed for 'rsync8.de.gentoo.org': [Error -2] Name or service not known
>>> Starting rsync with rsync://rsync8.de.gentoo.org...
>>> Checking server timestamp ...
rsync: getaddrinfo: rsync8.de.gentoo.org 873: Name or service not known
rsync: error: error in socket IO (code 10) at clientserver.c(122) [Reciever=3.0.8]
>>> Retrying...
!!! Exhausted address for rsync8.de.gentoo.org


...
Same as before, I tried couple different rsync targets. Any clues what this can be?


[EDIT]
Nevermind, I fixed this error by fixing my DNS server.
I'm back to the original error :(
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9137

PostPosted: Fri Oct 21, 2011 2:00 am    Post subject: Reply with quote

That SYNC= line looks wrong. I have SYNC="rsync://mirror.local/gentoo-portage". You have neither the leading rsync:// nor the trailing /gentoo-portage.
Back to top
View user's profile Send private message
cach0rr0
Moderator
Moderator


Joined: 13 Nov 2008
Posts: 4122
Location: Houston, Republic of Texas

PostPosted: Fri Oct 21, 2011 2:21 am    Post subject: Reply with quote

for our gentoo servers in Germany, these are our lines (which work correctly)

Code:

GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.opteamax.de/gentoo/"
SYNC="rsync://rsync16.de.gentoo.org/gentoo-portage"


if that helps
Back to top
View user's profile Send private message
kovadom
n00b
n00b


Joined: 20 Oct 2011
Posts: 3

PostPosted: Fri Oct 21, 2011 3:36 am    Post subject: Reply with quote

thanks! I added the /gentoo-portage syntax, and it works now
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 435
Location: Paris, France

PostPosted: Wed Jan 02, 2013 3:19 pm    Post subject: Reply with quote

I also have this issue, except that my gentoo installs have been working fine so far, and they just refuse to sync now. I had no line selecting mirrors in make.conf, and tried adding the lines above, and it fails too.
What could go wrong ?
I am using a home network, where I have done thousands of syncs and never had a problem...
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 435
Location: Paris, France

PostPosted: Wed Jan 02, 2013 3:19 pm    Post subject: Reply with quote

I also have this issue, except that my gentoo installs have been working fine so far, and they just refuse to sync now. I had no line selecting mirrors in make.conf, and tried adding the lines above, and it fails too.
What could go wrong ?
I am using a home network, where I have done thousands of syncs and never had a problem...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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