Bug#1003653: Revision of removal of rename.ul from package util-linux
On 25/01/2022 09:16, Chris Hofstaedtler wrote:
Both rename programs are around for a long time and have their use
cases, and apparently, there are users who rely on one or the other.
* Sean Whitton <firstname.lastname@example.org> [220125 00:06]:
On Mon 24 Jan 2022 at 11:33AM +01, Chris Hofstaedtler wrote:
For context, the idea is that /usr/bin/rename should become
src:util-linux' rename implementation.
That seems likely to break a great many scripts, though?
Perhaps we should ship them both under a name other than
/usr/bin/rename, such that people are prompted to update their scripts
to choose one, or create their own symlink?
Then all of this is a completely pointless exercise. Either we break
them, or it is favorable to keeping the way things are:
A very valid way of closing this discussion is saying "our
(Perl) /usr/bin/rename is great, people should use that".
Say, the bsdutils package provides "rename.ul", and the perl rename
package provides "rename.pl". Debian's alternatives system could then
make each of them available as "/usr/bin/rename". If both get installed,
the user could be prompted to choose a default "rename".
Would this apparently simple solution really create any problems?