After updating bash to 4.2_p50, cfg-update infinitly loops if there are updates pending on the line containing "bash -c readkey", leading to: * invalid key... try again: bash: readkey: command not found Reproducible: Always Steps to Reproduce: 1. Update bash to 4.2_p50 2. Update any package resulting in config changes 3. Run "cfg-update -u" Actual Results: Infinite loop while trying to read the keypress: * invalid key... try again: bash: readkey: command not found printed over and over again. Expected Results: cfg-update asks for the merge like this: Merge manually with file : /etc/._cfg0000_sudoers ? [y|s|1|2|q] The affected code line is: https://github.com/rich0/cfg-update/blob/master/cfg-update#L462
It is strange anyway to use bash from within a perl script. I suggest to use dev-perl/TermReadKey instead.
I have made a pull-request for a fix that uses Term::ReadKey https://github.com/rich0/cfg-update/pull/5
New release in portage. Thanks, esp to Christer Ekholm for the patch.