View previous topic :: View next topic |
Author |
Message |
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Wed Nov 07, 2012 1:53 pm Post subject: Error when using emerge --sync in chrooted environment. |
|
|
I am in the process of stalling Gentoo on an AMD64 laptop. Up until now I have been able to succesfully emerge --sync but now I gertthe following error.
Code: | !!! getaddrinfo failed for 'rsync.gentoo.org': [Errno -2] Name or service not known >>> Starting rsync with rsync://rsync.gentoo.org/gentoo-portage... >>> Checking server timestamp ... rsync: getaddrinfo: rsync.gentoo.org 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.gentoo.org |
Any ideas? |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Nov 07, 2012 2:02 pm Post subject: |
|
|
did you copy /etc/resolv.conf into the chroot (usually from outside the chroot: cp -L /etc/resolv.conf /mnt/gentoo/etc/)?
or how does your /etc/resolv.conf look like? _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Thu Nov 08, 2012 2:53 am Post subject: |
|
|
Veldrin wrote: | did you copy /etc/resolv.conf into the chroot (usually from outside the chroot: cp -L /etc/resolv.conf /mnt/gentoo/etc/)?
or how does your /etc/resolv.conf look like? |
I don't remember doing that. I used http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml for my install and it didn't instruct to do that. What is strange is that it was working fine up until the point that I actually booted the system after the install.
My /etc/resolv.conf looks like it is empty. Should I copy as suggestd from outside chrooted environment?:
Quote: | # Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/etc/resolv.conf lines 1-3/3 (END)
|
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Nov 08, 2012 3:17 am Post subject: |
|
|
manual edit to Quote: | nameserver 8.8.8.8 | will work _________________ Defund the FCC. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Nov 09, 2012 3:50 am Post subject: |
|
|
or an edit to /etc/resolv.conf.head to add that same "nameserver 8.8.8.8"
if he just puts it in /etc/resolv.conf, dhcpcd will clobber it the next time it fires off - no clue why his dhcp server isn't giving him a nameserver, however _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
|