Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync fails
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
mystified1
n00b
n00b


Joined: 04 Oct 2009
Posts: 16

PostPosted: Mon Oct 12, 2009 11:45 am    Post subject: emerge --sync fails Reply with quote

I just lost a five year old install of gentoo so I'm reinstalling from a stage one. So far I've gotten to emerge --sync and I'm getting the following:
Code:
Notice: (-3, 'Temporary failure in name resolution')
>>> Starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
rsync: getaddrinfo: rsync.gentoo.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]
>>> Retrying.


Also since it's been so many years I'm not sure how bootstrapping is done these days. Any suggestions greatly appreciate. (Please don't tell me to use a stage 3).
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Mon Oct 12, 2009 11:52 am    Post subject: Reply with quote

Temporary failure in name resolution suggests a DNS error.

Is your network working? Is your internet connection working?
i.e can you ping www.google.com
Back to top
View user's profile Send private message
mystified1
n00b
n00b


Joined: 04 Oct 2009
Posts: 16

PostPosted: Mon Oct 12, 2009 12:18 pm    Post subject: Reply with quote

It's been so long ut doesn't /etc/resolv.conf proc proc /mnt/gentoo/resolf.conf take care of that?
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Mon Oct 12, 2009 1:32 pm    Post subject: Reply with quote

yes, but...

are you following the handbook? If not, I strongly recommend that you do!

Basically, you need to do the following steps (apart from the obvious mounting and chrooting)
  • mount proc -t proc /mnt/gentoo/proc
  • mount -o bind /dev /mnt/gentoo/dev
  • cp -L /etc/resolv.conf /mnt/gentoo/etc/
Back to top
View user's profile Send private message
mystified1
n00b
n00b


Joined: 04 Oct 2009
Posts: 16

PostPosted: Tue Oct 13, 2009 9:38 am    Post subject: Reply with quote

Thanks! I wasn't following the correct guide.
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