Timeline for Why is the rename utility on Debian/Ubuntu different than the one on other distributions, like CentOS?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 21, 2016 at 19:30 | vote | accept | Jacob Ritchie | ||
| Apr 9, 2016 at 2:10 | comment | added | cas | @Gilles that's pretty much what i thought. | |
| Apr 9, 2016 at 2:04 | comment | added | Gilles 'SO- stop being evil' | @cas file-rename is the Unicode::Tussle version. I think the reason rename.ul isn't an alternative for rename is because it's incompatible; but an administrator who favors consistency between distributions can still manually change the link to point to /usr/bin/rename.ul. I don't know if this would break any Debian scripts; in principle, according to policy, packages can count on the perl version if they depend on perl, and build scripts can count on the perl version since the perl package is build-essential. | |
| Apr 9, 2016 at 2:01 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 | added 175 characters in body |
| Apr 9, 2016 at 1:53 | comment | added | cas | hmmm, that's odd. on my sid system, util-linux doesn't provide an alternative for /usr/bin/rename. but another package rename does, so the choices are /usr/bin/prename from perl (priority 60) or /usr/bin/file-rename from rename (priority 70). file-rename seems to be an updated/enhanced version of prename. | |
| Apr 9, 2016 at 1:46 | comment | added | cas | @FaheemMitha That's because /usr/bin/rename is controlled by debian's alternatives system. try update-alternatives --display rename. debian allows the local sysadmin to choose between util-linux or perl rename (or others, if any exist) | |
| Apr 9, 2016 at 1:45 | comment | added | Gilles 'SO- stop being evil' | @FaheemMitha It's a symlink to /etc/alternatives/rename, which defaults to the Perl version (but can point to the util-linux version instead, at the choice of the administrator). | |
| Apr 9, 2016 at 1:40 | comment | added | Faheem Mitha | /usr/bin/rename is not part of any package. At least dpkg -S /usr/bin/rename does not return anything. | |
| Apr 9, 2016 at 1:33 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |