Package: localepurge
Version: 0.7.3.10
Severity: normal

localepurge's hook under /etc/apt/apt.conf.d/99-localepurge uses egrep:

  Post-Invoke {"if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | egrep -c 
'(remove|purge)') != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";};

Which since grep 3.8 unfortunately emits this annoying warning:

  egrep: warning: egrep is obsolescent; using grep -E

Additionally it uses fgrep in /usr/sbin/localepurge itself:

  /usr/sbin/localepurge:   if [ -f $NOPURGECONF ] && fgrep --quiet 
--line-regexp USE_DPKG $NOPURGECONF ; then
  /usr/sbin/localepurge:  if fgrep --quiet --line-regexp USE_DPKG $NOPURGECONF
  /usr/sbin/localepurge:  elif fgrep --quiet --line-regexp NEEDSCONFIGFIRST 
$NOPURGECONF
  /usr/sbin/localepurge:if fgrep --quiet --line-regexp DONTBOTHERNEWLOCALE 
$NOPURGECONF; then
  /usr/sbin/localepurge:if fgrep --quiet --line-regexp SHOWFREEDSPACE 
$NOPURGECONF; then
  /usr/sbin/localepurge:if fgrep --quiet --line-regexp MANDELETE $NOPURGECONF; 
then
  /usr/sbin/localepurge:if fgrep --quiet --line-regexp VERBOSE $NOPURGECONF \
  /usr/sbin/localepurge:    if fgrep --quiet --line-regexp QUICKNDIRTYCALC 
$NOPURGECONF; then

See /usr/share/doc/grep/NEWS.Debian.gz for details.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), 
(111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), 
(105, 'experimental-debug')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-2-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages localepurge depends on:
ii  debconf [debconf-2.0]  1.5.79
ii  locales                2.34-7
ii  perl                   5.34.0-5
ii  procps                 2:3.3.17-7+b1
ii  ucf                    3.0043

localepurge recommends no packages.

Versions of packages localepurge suggests:
ii  bleachbit  4.4.2-1
pn  debfoster  <none>
ii  deborphan  1.7.35

-- debconf information:
* localepurge/nopurge: de, de_CH.UTF-8, de_DE.UTF-8, en, en_DK.UTF-8, 
en_GB.UTF-8, en_US.UTF-8
  localepurge/verbose: false
  localepurge/remove_no:
  localepurge/quickndirtycalc: true
  localepurge/showfreedspace: true
  localepurge/dontbothernew: false
* localepurge/mandelete: true
  localepurge/none_selected: false
* localepurge/use-dpkg-feature: true

Reply via email to