Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo -- can't '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
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Sun Oct 31, 2004 4:50 pm    Post subject: Installing Gentoo -- can't 'emerge --sync' Reply with quote

I'm trying to install Gentoo for the first time on a new system, but I'm stuck at the "Updating the Portage tree" step.

Here's what I get (manually typed):

Code:
Notice: (-3, 'Temporary failure in name resolution')
>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage
>>> checking server timestamp...
rsync: getaddrinfo: rsync.gentoo.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(88)
>>> retry...


I also tried "web-rsync", but it exits without doing anything and without any error messages or messages of any kind.
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Sun Oct 31, 2004 5:09 pm    Post subject: Reply with quote

did you setup correctly /etc/resolv/.conf?
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Oct 31, 2004 6:30 pm    Post subject: Reply with quote

It looks like you didnt "cp /etc/resolv.conf /mnt/gentoo/etc/.". You do this before chroot. You Simply
Code:

exit            (exits chroot)
ping -c 3 google.com      (to make sure you con get out on the net)
cp /etc/resolv.conf /mnt/gentoo/etc/.
chroot . /bin/bash
env-update
. /etc/profile

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Sun Oct 31, 2004 7:21 pm    Post subject: resolve.conf Reply with quote

No, I thought of the resolv.conf thing. I backed up and redid some of the installation steps to make sure that I got the networking stuff right.

I note that I cannot successfully ping rsync.gentoo.org from any computer I have here. Also, "ping -c 3 google.com" works just fine from the computer having the problem.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Oct 31, 2004 7:36 pm    Post subject: Reply with quote

Well I couldnt ping rsync.gentoo.org either but I did do a sync today, and my /etc/make.conf
grep rsync /etc/make.conf
# concern that they will be deleted by rsync updates. Default is not
# Synchronization is handled by rsync and these settings allow some control
# SYNC is the server used by rsync to retrieve a localized rsync mirror
# Please do not single out specific rsync mirrors. Doing so places undue
# Default: "rsync://rsync.gentoo.org/gentoo-portage"
# North America: "rsync://rsync.namerica.gentoo.org/gentoo-portage"
# South America: "rsync://rsync.samerica.gentoo.org/gentoo-portage"
# Europe: "rsync://rsync.europe.gentoo.org/gentoo-portage"
# Asia: "rsync://rsync.asia.gentoo.org/gentoo-portage"
# Australia: "rsync://rsync.au.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
# RSYNC_TIMEOUT sets the length of time rsync will wait before it times out
# RSYNC_EXCLUDEFROM is a file that portage will pass to rsync when it updates
# comments. See 'man rsync' for more details on the exclude-from format.
#RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes

worked fine.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Sun Oct 31, 2004 7:43 pm    Post subject: alternate servers Reply with quote

Thanks!

If I ping the samerica or europe servers, I get a response, but I get nothing from namerica.

Looks like something is down.


NOTE: I can "emerge sync" on one fully-configured Gentoo box, but not the new one. Neither can ping the namerica servers, but the problem one can get at europe and samerica.
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Sun Oct 31, 2004 7:48 pm    Post subject: Still not working Reply with quote

Even though I now have a server that I can ping, I still cannot emerge --sync. I'm getting the same temporary failure in name resolution.

From the live cd, I can ping, but from the chrooted environment, nothing is working right. In terms of networking, I'm quite certain that I did not miss a step.

There really needs to be a script I can run to check that.
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Sun Oct 31, 2004 8:07 pm    Post subject: It's a DNS problem of some sort Reply with quote

"ping -c 3 google.com" works just fine from the livecd.

I copied ping so that I could get at it from the chrooted environment, and when I do that ping, it says that google.com is an unknown host.

I've checked and double-checked that I followed the instructions correctly, but it's just not working.

Here's where I got the instructions:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6
Back to top
View user's profile Send private message
theosib
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 207

PostPosted: Sun Oct 31, 2004 8:11 pm    Post subject: I'm an idiot Reply with quote

I mistyped 'resolv.conf' as 'resolve.conf'. <sigh>

Thank you and have a nice day. :)
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