# emerge portage Calculating dependencies ... done! >>> Emerging (1 of 1) sys-apps/portage-2.1.1_pre3-r2 to / [snip] * GNU info directory index is up-to-date. * IMPORTANT: 1 config files in /etc need updating. * Type emerge --help config to learn how to update config files. # etc-update /usr/sbin/etc-update: line 275: conditional binary operator expected /usr/sbin/etc-update: line 275: syntax error near `${ofile}' /usr/sbin/etc-update: line 275: ` if [[ "${OVERWRITE_ALL}" == "yes" && ! user_special ${ofile} ]]; then' # emerge --info Portage 2.1.1_pre3-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3 i686) ================================================================= System uname: 2.6.17-gentoo-r3 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.12.1 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 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="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -msse -mfpmath=sse -fomit-frame-pointer" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -msse -mfpmath=sse -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.iinet.com.au/linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_AU" LC_ALL="en_AU" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="x86 3dnow X acl acpi alsa apache2 apm arts async avi berkdb bitmap-fonts chroot cli crypt cups dlloader dmi dri dvd eds emboss encode foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 isdnlog java jpeg kde libclamav libg++ libwww lm_sensors mad maildir mikmod mmap mmx modperl motif mp3 mpeg mpm-worker ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection session spamassassin spell spl ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev userlocales virus-scan vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
same here ..
Created attachment 92347 [details, diff] fix sytax error Sorry about that. The fix is in svn r3972 and has just been released in 2.1.1_pre3-r3 (will take a while for the rsync mirrors to get it though). If you save the patch as /tmp/etc-update.patch then you can apply it as follows: cd /usr/lib/portage patch -p0 < /tmp/etc-update.patch
This has been fixed for some time.