Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106858 - Emerge can't resolve mirror names, but ping can. All other internet apps work fine.
Summary: Emerge can't resolve mirror names, but ping can. All other internet apps work...
Status: RESOLVED INVALID
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mirror Admins
URL: http://pastebin.com/370642
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 21:18 UTC by ShockValue
Modified: 2005-09-22 13:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ShockValue 2005-09-21 21:18:37 UTC
emerge -uDN world
Calculating world dependencies ...done!
>>> emerge (1 of 34) sys-devel/bison-2.1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/bison-2.1.tar.gz
--21:12:51--  http://distfiles.gentoo.org/distfiles/bison-2.1.tar.gz
           => `/usr/portage/distfiles/bison-2.1.tar.gz'
Resolving distfiles.gentoo.org... 1.0.0.0
Connecting to distfiles.gentoo.org[1.0.0.0]:80...

Exiting on signal 2

ping -c 1 distfiles.gentoo.org
PING distfiles.gentoo.org (64.50.236.52) 56(84) bytes of data.
64 bytes from distfiles.gentoo.org (64.50.236.52): icmp_seq=1 ttl=56 time=107 ms

--- distfiles.gentoo.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 107.401/107.401/107.401/0.000 ms



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Emerge of anything fails.

Expected Results:  
emerge package in question.

emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts bzip2 cdr crypt divx4linux eds
emboss encode fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imlib jpeg
libg++ libwww mad mikmod mmx motif mp3 mpeg musicbrainz mysql ncurses nls ogg
oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba sdl
sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis win32codecs
xine xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
--------------------------------------------------------------------------------
resolve.conf

nameserver 10.1.1.1
----------------------------------------------------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 23:40:50 UTC
(In reply to comment #0)
--------------------------------------------------------------------------------
> resolve.conf
> 
> nameserver 10.1.1.1
> ----------------------------------------------------------------------------

That's supposed to be resolv.conf, for start... If that's just a typo, then your
DNS server sucks, don't you think that there would be tons of bugs if mirrors
were not resolveable?
Comment 2 ShockValue 2005-09-22 12:11:34 UTC
Yes, typo.  /etc/resolv.conf


If you notice after the resolution of the name by emerge fails, that I can
immediatly ping that same name and have it work just fine?  That works for any
mirror name that I've tried.  emerge fails to resolve, ping works just fine.

I'm not saying that my nameserver doesn't suck, but I'm at a loss on how this
happens.
Comment 3 Kurt Lieber (RETIRED) gentoo-dev 2005-09-22 13:04:52 UTC
emerge can resolve mirror names.  Please look at the error output you posted:

Resolving distfiles.gentoo.org... 1.0.0.0
Connecting to distfiles.gentoo.org[1.0.0.0]:80...

something is screwed up with your name resolution.  This is not a problem with
emerge.  I do not know why it works w/ ping and not with emerge, but it's not a
bug in emerge.

Please use the normal avenues for obtaining user support.  Forums, gentoo-user, etc.