In etc-update when asked to select a file, if you enter a number it works ok. But if you just enter nothing (just press "enter"), instead of selecting the first file you trigger some syntax errors and then go back to the menu. Here's what happens: >>>>> (...) Please select a file to edit by entering the corresponding number. (don't use -3 or -5 if you're unsure what to do) (-1 to exit) (-3 to auto merge all remaining files) (-5 to auto-merge AND not use 'mv -i'): <<< just pressed enter >>> /usr/sbin/etc-update: line 145: ((: == -5 : syntax error: operand expected (error token is "== -5 ") /usr/sbin/etc-update: line 149: ((: == -3 : syntax error: operand expected (error token is "== -3 ") /usr/sbin/etc-update: line 154: ((: == 0 : syntax error: operand expected (error token is "== 0 ") /usr/sbin/etc-update: line 105: [: ==: unary operator expected /usr/sbin/etc-update: line 105: [: ==: unary operator expected The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. (...) <<<<<< Here's my emerge --info: Portage 2.1_pre9-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r2 i686) ================================================================= System uname: 2.6.16-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.12.0_pre18 dev-lang/python: 2.2.3-r6, 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=pentium4 -fomit-frame-pointer -pipe" 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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pt_PT@euro" LINGUAS="pt" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apache2 apm avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups directfb divx4linux dri dvd dvdr dvdread eds emboss encode fbcon font-server foomaticdb fortran gcj gdbm gecko-sdk gif glibc-compat20 glut gpm gtk gtk2 hal imlib isdnlog jack java jpeg libcaca libg++ libwww lirc live mad matroska mikmod mmx mmxext motif mozsvg mp3 mpeg mppe-mppc ncurses network nls nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection samba sdl session sox spell spl sse sse2 ssl stroke svg swsusp2 tcpd threads tiff tls truetype truetype-fonts type1-fonts usb v4l v4l2 videos vorbis win32codecs xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_pt userland_GNU video_cards_nvidia video_cards_v4l" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
ive already fixed this in svn
Ok, marking as solved.
In svn r3175 apparently (not yet released).
*** Bug 131344 has been marked as a duplicate of this bug. ***
this bug still exists in todays release of portage-2.1_pre9-r5
It will be released in 2.1_pre10.
Released in 2.1_pre10.