Package: util-linux
Version: 2.36.1-8+deb11u1
Followup-For: Bug #973471
Hello,
The issue is that currently "look" is broken on debian/bullseye. I don't know
whether this package needs to be updated or the dictionary package(s).
Attached is a patch that removes the default -d and -f when no dictionary file
is given, which seems to mitigate this issue.
Regards,
Yair.
-- System Information:
Debian Release: 11.3
APT prefers stable
APT policy: (990, 'stable'), (910, 'stable-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.104-aufs-3 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_IL.UTF-8, LC_CTYPE=en_IL.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en_GB:en
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages util-linux depends on:
ii libaudit1 1:3.0-2
ii libblkid1 2.36.1-8+deb11u1
ii libc6 2.31-13+deb11u3
ii libcap-ng0 0.7.9-2.2+b1
ii libcrypt1 1:4.4.18-4
ii libmount1 2.36.1-8+deb11u1
ii libpam0g 1.4.0-9+deb11u1
ii libselinux1 3.1-3
ii libsmartcols1 2.36.1-8+deb11u1
ii libsystemd0 247.3-7
ii libtinfo6 6.2+20201114-2
ii libudev1 247.3-7
ii libuuid1 2.36.1-8+deb11u1
ii login 1:4.8.1-1
ii zlib1g 1:1.2.11.dfsg-2
util-linux recommends no packages.
Versions of packages util-linux suggests:
ii dosfstools 4.2-1
ii kbd 2.3.0-3
pn util-linux-locales <none>
-- Configuration Files:
/etc/pam.d/runuser [Errno 2] No such file or directory: '/etc/pam.d/runuser'
/etc/pam.d/runuser-l [Errno 2] No such file or directory: '/etc/pam.d/runuser-l'
/etc/pam.d/su changed [not included]
/etc/pam.d/su-l changed [not included]
-- no debconf information
--- a/misc-utils/look.1
+++ b/misc-utils/look.1
@@ -69,15 +69,13 @@
.TP
.BR \-d , " \-\-alphanum"
Use normal dictionary character set and order, i.e., only blanks and
-alphanumeric characters are compared. This is on by default if no file is
-specified.
+alphanumeric characters are compared.
Note that blanks have been added to dictionary character set for
compatibility with \fBsort \-d\fR command since version 2.28.
.TP
.BR \-f , " \-\-ignore\-case"
-Ignore the case of alphabetic characters. This is on by default if no file is
-specified.
+Ignore the case of alphabetic characters.
.TP
.BR \-t , " \-\-terminate " \fIcharacter\fR
Specify a string termination character, i.e., only the characters
--- a/misc-utils/look.c
+++ b/misc-utils/look.c
@@ -141,8 +141,8 @@
string = *argv++;
file = *argv;
break;
- case 1: /* But set -df by default. */
- dflag = fflag = 1;
+ case 1: /* But set -df by default (except on
debian) */
+ //dflag = fflag = 1;
string = *argv;
break;
default: