View previous topic :: View next topic |
Author |
Message |
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Sun Oct 31, 2004 4:50 pm Post subject: Installing Gentoo -- can't 'emerge --sync' |
|
|
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 |
|
|
skunk l33t
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Sun Oct 31, 2004 5:09 pm Post subject: |
|
|
did you setup correctly /etc/resolv/.conf? |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sun Oct 31, 2004 6:30 pm Post subject: |
|
|
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 |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Sun Oct 31, 2004 7:21 pm Post subject: resolve.conf |
|
|
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sun Oct 31, 2004 7:36 pm Post subject: |
|
|
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 |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Sun Oct 31, 2004 7:43 pm Post subject: alternate servers |
|
|
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 |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Sun Oct 31, 2004 7:48 pm Post subject: Still not working |
|
|
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 |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Sun Oct 31, 2004 8:07 pm Post subject: It's a DNS problem of some sort |
|
|
"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 |
|
|
theosib Apprentice
Joined: 09 Mar 2004 Posts: 207
|
Posted: Sun Oct 31, 2004 8:11 pm Post subject: I'm an idiot |
|
|
I mistyped 'resolv.conf' as 'resolve.conf'. <sigh>
Thank you and have a nice day. |
|
Back to top |
|
|
|