After installing gnome-games 2.4.0, I found that etc-update would crash when trying to overwrite my /etc/sound/events/gnobots2.soundlist as requested. _All other file merges seem to be fine._ Etc-update just does not like this one file. Installing additional items and then going back does not seem to affect this behavour. Reinstalling portage does not solve this problem. Reproducible: Always Steps to Reproduce: (Using KDE's Konsole) # etc-update Scanning Configuration files... The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/cups/printers.conf /etc/cups/._cfg0000_printers.conf 2) /etc/sound/events/gnobots2.soundlist /etc/sound/events/._cfg0000_gnobots2.soundlist Please select a file to edit by entering the corresponding number. (-1 to exit) (-3 to auto merge all remaining files) (-5 to auto-merge AND not use 'mv -i'): 2 Beginning of differences between /etc/sound/events/gnobots2.soundlist and /etc/sound/events/._cfg0000_gnobots2.soundlist --- /etc/sound/events/gnobots2.soundlist 2003-09-01 17:48:45.000000000 -0400 +++ /etc/sound/events/._cfg0000_gnobots2.soundlist 2003-11-02 19:42:50.000000000 -0500 @@ -1,20 +1,25 @@ [__section_info__] description=GNOME Robots II description[be]=GNOME
After installing gnome-games 2.4.0, I found that etc-update would crash when trying to overwrite my /etc/sound/events/gnobots2.soundlist as requested. _All other file merges seem to be fine._ Etc-update just does not like this one file. Installing additional items and then going back does not seem to affect this behavour. Reinstalling portage does not solve this problem. Reproducible: Always Steps to Reproduce: (Using KDE's Konsole) # etc-update Scanning Configuration files... The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/cups/printers.conf /etc/cups/._cfg0000_printers.conf 2) /etc/sound/events/gnobots2.soundlist /etc/sound/events/._cfg0000_gnobots2.soundlist Please select a file to edit by entering the corresponding number. (-1 to exit) (-3 to auto merge all remaining files) (-5 to auto-merge AND not use 'mv -i'): 2 Beginning of differences between /etc/sound/events/gnobots2.soundlist and /etc/sound/events/._cfg0000_gnobots2.soundlist --- /etc/sound/events/gnobots2.soundlist 2003-09-01 17:48:45.000000000 -0400 +++ /etc/sound/events/._cfg0000_gnobots2.soundlist 2003-11-02 19:42:50.000000000 -0500 @@ -1,20 +1,25 @@ [__section_info__] description=GNOME Robots II description[be]=GNOME РобаÑÑ II +description[bg]=РобоÑи за GNOME II description[bn]=à¦à¦¿à¦¨à§à¦® রà§à¦¬à§à¦ ২ description[ca]=GNOME Robots II -description[cs]=GNOME Roboti II -description[da]=Gnobotter +description[cs]=GNOME Robots II +description[cy]=Robotiaid GNOME II +description[da]=Robotter description[de]=GNOME Robots II description[el]=GNOME Robots II description[es]=GNOME Robots II -description[fi]=Gnomen Robottipeli II +description[fi]=Gnome-robotit II description[fr]=GNOME Robots II description[he]=ר××××× ×× ×× II +description[hi]=à¤à¤¨à¥à¤® रà¥à¤¬à¥à¤à¥à¤¸ II description[hu]=GNOME Robots II description[it]=GNOME Robots II -description[ja]=GNOME ããããII +description[ja]=GNOME ãããã II +description[ko]=ê·¸ë ë¡ë´ II description[lv]=GNOME Roboti II +description[mk]=GNOME Robots II description[mn]=GNOME Robots II description[ms]=Robots GNOME II description[nl]=GNOME Robots II @@ -24,10 +29,12 @@ description[pt_BR]=GNOME Robots II description[sk]=GNOME roboti II description[sl]=Roboti GNOME II +description[sr]=ÐÐÐРРобоÑи II [............] -description[uk]=Ð ÑÐ²ÐµÐ½Ñ Ð¿Ñойдено description[vi]=Mức hoà n thà nh description[zh_CN]=æ¬å±å®æ description[zh_TW]=éé End of differences between /etc/sound/events/gnobots2.soundlist and /etc/sound/events/._cfg0000_gnobots2.soundlist 1) Replace original with update 2) Delete update, keeping original as is 3) Interactively merge original with update 4) Show differences again Please select from the menu above (-1 to ignore this update): 1 /usr/sbin/etc-update: line 253: read: 1: syntax error: operand expected (error token is "1") Exiting: User termination! Actual Results: etc-update crashed as shown Expected Results: etc-update should have prompted to confirm overwriting the file, and then overwrote it with the new version. # emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test7-bk2) ================================================================= System uname: 2.6.0-test7-bk2 i686 AMD Athlon(TM) MP 1800+ Gentoo Base System version 1.4.3.10 ccache version 2.2 [disabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox userpriv usersandbox -ccache" GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.oregonstate.edu " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl snmp cdr 3dnow acpi imap ipv6 jack java mmx odbc ofx plotutils ppds samba sasl"
I can confirm that I have the same problem here.
I have gone through several Gnome compile cycles over the past year, keeping the config files that caused the problem. Over the past few months, I have tried to reproduce this bug, but it has not occurred even with Portage 2.0.51-r14. I seem to recall the introduction of using less as a pager to view the diff happened sometime in the past year; perhaps that fixed or is masking the issue. Is anyone still seeing signs this exist, or similar problems that the bug should remain open? Or should it be closed now after a year of sitting idle?
Using less (or any other pager) would be masking this issue. Something in the file must be being misinterpreted by the terminal. You can get a similar affect by cat'ing /dev/urandom and then Ctrl-C'ing. You'd also get reports of syntax errors in stuff you didn't type. I'll close this bug though as it no longer affects anybody. There is another bug related to etc-update misinterpreting invalid input. For example, pressing "right" and then backspacing the codes will cause the same error as you've got here. When that is fixed, this will be fully fixed along with it.