Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379779 - app-portage/layman-2.0.0_rc2 <urlopen error [Errno -2] Name or service not known>
Summary: app-portage/layman-2.0.0_rc2 <urlopen error [Errno -2] Name or service not kn...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 19:24 UTC by Vladimir Berezhnoy
Modified: 2011-08-20 01:22 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 Vladimir Berezhnoy 2011-08-18 19:24:07 UTC
# layman -f

 * Fetching remote list,...
 * RemoteDB.cache(); Failed to update the overlay list from: http://www.gentoo.org/proj/en/overlays/repositories.xml
 * IOError was:
 * <urlopen error [Errno -2] Name or service not known>
 * Fetch Ok


Reproducible: Always

Steps to Reproduce:
# wget http://www.gentoo.org/proj/en/overlays/repositories.xml -O /dev/null
--2011-08-18 23:19:48--  http://www.gentoo.org/proj/en/overlays/repositories.xml
Resolving www.gentoo.org... 89.16.167.134
Connecting to www.gentoo.org|89.16.167.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 193420 (189K) [text/xml]
Saving to: `/dev/null'

100%[================================================================================================================================================>] 193,420      427K/s   in 0.4s    

2011-08-18 23:19:49 (427 KB/s) - `/dev/null' saved [193420/193420]




# emerge --info
Portage 2.1.10.9 (default/linux/x86/10.0/desktop/kde, gcc-4.4.6, glibc-2.13-r4, 3.0.0-gentoo-home2 i686)
=================================================================
System uname: Linux-3.0.0-gentoo-home2-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 18 Aug 2011 18:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.2.4-r1, 4.3.6, 4.4.6, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo gamerlay-stable arcon kde-sunset multimedia sping sunrise swegener
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/hddtemp/ /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/mnt/large/sys/distfiles"
FEATURES="assume-digests binpkg-logs compress-build-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/large/sys/var_tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/arcon /var/lib/layman/kde-sunset /var/lib/layman/multimedia /var/lib/layman/sping /var/lib/layman/sunrise /var/lib/layman/swegener"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acpi additions addressbook aften aim alsa amr ansi apm applet archive ass atm automount autoreplace avahi bash-completion bashlogger binary-drivers bittorrent bluetooth bluray branding btrfs bzip2 cairo cdda cgi chm cisco consolekit cracklib crypt css curl custom-optimization cxx dbus declarative desktopglobe dhcp disk-partition djvu dlna dri dts dvd dvdr emboss emovix enca encode epiphany exif expat extensions extras faac faad fat ffmpeg flac flash fontconfig fortran ftp gd gdbm gdu geoip gif glib gnome gnome-keyring gnutls gphoto2 gpm gtk gzip hddtemp highlight history httpd iconv id3 ieee1394 imagemagick imlib inotify ithreads jabber javascript jfs jpeg kde lame lcms libass libextractor libnotify lm_sensors logrotate lvm lzma mad maps matroska mdadm mktemp mmx mmxext mng modules mouse mozilla mp3 mp4 mpeg mplayer mudflap musicbrainz mysql mysqli nas nautilus ncurses network network-cron nls nowlistening nptl nptlonly nsplugin ntfs ntlm obex ogg opengl openmp openntpd oscar pam pango passwordsave pcf pch pcre pdf perl phonon php plasma plugins png policykit ppds pppd python qt3support qt4 rdesktop readline samba sasl screen sdl session sha512 simplexml slang sndfile spell sqlite sqlite3 srt srv sse sse2 ssl startup-notification statistics subtitles subversion svg swat sysfs syslog taglib tcpd theora threads threadsafe thumbnail tiff tordns tos tracker translator trayicon truetype udev unicode upnp urandom usb utempter vim-syntax vnc vorbis vpx wavpack web webkit winbind x264 x86 xcb xcomposite xfs xhtml xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xsl xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2011-08-19 19:06:21 UTC
That is strange for it to not be working for rc2,  but was for rc1.  That code did not change.

Perhaps there is a problem in python's urllib2 module,or maybe proxy settings...

I'll do some more checking when I get home.
Comment 2 Vladimir Berezhnoy 2011-08-20 01:19:25 UTC
I don't know what caused the problem, but eventually it resolved by itself. Most probably something was broken in my system (dns or sthg).
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2011-08-20 01:22:29 UTC
I am unable to reproduce your failure. I am glad it is working again for you.

You can also try layman-9999 which will include this latest change.  Don't worry about stability, I am holding development at he rc + bug fixes only for the upcoming 2.0.0 final release.


 However I did fix the success tracking and reporting.  I also improved a few of the internal error messages and set them to print as errors for correct tracking & reporting in the cli interface.


commit: f1ac6fc5b697632d4db04265bc0c0ec6554e6855
eg:

big_daddy layman # layman -f -c ./test.cfg

 * Fetching remote list,...
 * RemoteDB.cache(); HTTPError was:
 * url: http://www.gentoo.org/proj/en/overlays/repositor.xml
 * HTTP Error 404: Not Found

 * CLI: Errors occured processing action fetch
 * RemoteDB.cache(); HTTPError was:
 * url: http://www.gentoo.org/proj/en/overlays/repositor.xml
 * HTTP Error 404: Not Found

big_daddy layman # layman -f              

 * Fetching remote list,...
 * Remote list already up to date: http://www.gentoo.org/proj/en/overlays/repositories.xml
 * Last-modified: Sun, 14 Aug 2011 18:30:15 GMT
 * Fetch Ok

big_daddy layman #