Hi all,

I just noticed that the "which" command provided by debianutils has been
declared as deprecated in Debian Sid:

% /usr/bin/which test
/usr/bin/which: this version of 'which' is deprecated and should not be used.
/usr/bin/test

Obviously it was caused by the upload of debianutils/5.0-1 onto Unstable (see
https://salsa.debian.org/debian/debianutils/-/commit/3a8dd10b4502f7bae8fc6973c13ce23fc9da7efb
):

--------------------------------------
.SH DEPRECATION
Since type and command \-v were mandated by POSIX, this utility is no longer
useful for maintainer scripts and thus will be removed from debianutils.
--------------------------------------

I did some search and found related discussion thread at
https://lists.debian.org/debian-devel/2020/08/msg00081.html , which looks
pretty reasonable.

Now I'm just wondering what would be the good alternative that provides
/usr/bin/which. Obviously we had a round of discussion already (see
https://lists.debian.org/debian-devel/2020/08/msg00340.html ), but probably we
need a solution this time following debianutils which's deprecation. The most
reasonable choice might be GNU which anyway.

Besides, will the new "which" tool be installed in Debian by default? Since
debianutils is Essential:yes, not providing "which" tool by default could
probably break some existing packages.

Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to