Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69406 - emerge -a sync fail with "Bad file descriptor" (emerge sync works)
Summary: emerge -a sync fail with "Bad file descriptor" (emerge sync works)
Status: RESOLVED DUPLICATE of bug 68946
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 07:19 UTC by Tor Klingberg
Modified: 2005-07-17 13:06 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 Tor Klingberg 2004-10-29 07:19:42 UTC
When I run emerge -a sync I get this error:
Do you want to sync your Portage tree with the mirror at
rsync://65.19.163.230/gentoo-portage? [Yes/No] Traceback (most recent call last):
  File "/usr/bin/emerge", line 2435, in ?
    if userquery("Do you want to sync your Portage tree with the mirror at\n" + blue(dosyncuri) + bold("?"))=="No":
  File "/usr/bin/emerge", line 110, in userquery
    response=raw_input("["+string.join([colours[i](responses[i]) for i in range(len(responses))],"/")+"] ")
IOError: [Errno 9] Bad file descriptor

"emerge sync" works fine, but error with "emerge -a sync" is still there.

I guess someone forgot "emerge -a sync" is possible. I you wonder why I would use -a on sync, it is because I use the aliases
alias ge='emerge -av'
alias se='emerge -s'
for all my portage interaction.

Reproducible: Always
Steps to Reproduce:




# emerge info
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -msse2 -msse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
 /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/
share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex
/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /va
r/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.se http://mirror.pudas.net/gentoo/ 
http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo 
http://gentoo.prz.rzeszow.pl http://gentoo.mirror.sdv.fr 
http://gentoo.zie.pg.gda.pl http://ftp.gentoo-pt.org/pub/gentoo 
http://gentoo.ynet.sk/pub http://mirror.etf.bg.ac.yu/gentoo 
http://mirror.gentoo.no/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa anthy apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt 
cups dvd dvdr encode esd f77 flac foomaticdb freetype gdbm gif gimpprint gnome 
gpm gtk gtk2 gtkhtml guile imap imlib ipv6 java jpeg libg++ libwww mad maildir 
matroska mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses network nls 
nodrm oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline 
sdl slang spell sse sse2 ssl svga tcltk tcpd tetex tex tiff truetype unicode 
usb x86 xml2 xmms xv xvid zlib"
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-10-29 07:43:59 UTC

*** This bug has been marked as a duplicate of 68946 ***