Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 64156

Summary: etc-update, Portage 2.0.50-r11, fails doesn't go to the next file when I don't want to update a file
Product: Gentoo Linux Reporter: Gaute Hope <eg>
Component: [OLD] UnspecifiedAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gaute Hope 2004-09-15 11:05:05 UTC
When doing an etc-update after some config files being updated, and i don't want to update them. I select -3, interactive mode with `mv` I belive, when I choose not to update the file etc-update continues to ask about the same file again and again until I manually delete the ._cfg* file. 

It works if I select 'y' and do update the file.

Reproducible: Always
Steps to Reproduce:
1. Emerge some ebuild that contains config files
1. Or just `echo > /etc/._cfg0000_rc.conf`
2. etc-update
3. Enter -3 when etc-update asks about what to do with the file
4. Choose 'n' when mv asks.
Actual Results:  
It went into a loop asking the same question again and again.

Expected Results:  
Removed/Moved the config file.

Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo/
http://mirror.gentoo.no/"MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2
xmms xprint xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-09-15 13:15:10 UTC
*** Bug 64157 has been marked as a duplicate of this bug. ***
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-09-16 09:21:28 UTC
I suggested ignoring updates or deleting updates before telling it
to overwrite all.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-09-21 17:10:28 UTC
It works for me.