A am running "etc-update --automode -5" Help to etc-update says: -5 to auto-merge AND not use 'mv -i' But using "-5" is the same as "-3". mv still waits confirmations. And "-i" flag can be seen in ps output. I think it is mistype in /usr/sbin/etc-update script. There is lines: -5) parse_automode_flag -3 export mv_opts=" ${mv_opts} " mv_opts="${mv_opts// -i / }" ;; It is unconditionally adding "-i" option instead of removing it!
(In reply to comment #0) > It is unconditionally adding "-i" option instead of removing it! Really? Here's what I get if I paste these lines in the shell: $ mv_opts="mv -i" $ mv_opts=" ${mv_opts} " $ mv_opts="${mv_opts// -i / }" $ echo $mv_opts mv
> Really? Here's what I get if I paste these lines in the shell You are right. I was fooled by "//". Thaugh it uses empty pattern. :) So bug is somwhere else.
Another try. :) I think this is because parameters is parsed before call to "get_config ...". I have inserted echo's it etc-update: after parameters parse, after get_config and after parsing "-5" in parse_automode_flag(): Result is: # etc-update --automode -5 during parse: mv_opts = after params: mv_opts = after get_config: mv_opts = -i Scanning Configuration files... Replacing /etc/portage/savedconfig/sys-apps/busybox-1.20.1 with /etc/portage/savedconfig/sys-apps/._cfg0000_busybox-1.20.1 mv: overwrite `/etc/portage/savedconfig/sys-apps/busybox-1.20.1'? So "-i" is added later and not removed.
Yes, it's fixed in git now: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d134e60407c65b04fd57fea3016cf9ba9e8c5236
This is fixed in 2.1.11.9 and 2.2.0_alpha120.