On 2023-03-21 02:46 +0100, Christoph Anton Mitterer wrote:
> Package: coreutils
> Version: 9.1-1
> Severity: wishlist
>
> Hey.
>
> 9.2 is out :-)
This version has an important incompatible change:
,----
| 'cp -n' and 'mv -n' now exit with nonzero status if they skip their
| action because the destination exists, and likewise for 'cp -i',
| 'ln -i', and 'mv -i' when the user declines. (POSIX specifies this
| for 'cp -i' and 'mv -i'.)
`----
If you have time on your hands, please look on codesearch.debian.net for
'cp -n', 'mv -n' and '--no-clobber' and file bugs against packages whose
scripts are going to fail due to this change. Or complain on upstream
bug #62572[1] and ask for a revert of the '-n' exit failure if the
destination exists.
Cheers,
Sven
1. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62572