Package: dpkg
Version: 1.19.7ubuntu3
Severity: normal

Dear Maintainer,

`egrep` has been deprecated in GNU grep since 2007, and in current post
3.7 Git it has been made to emit obsolescence warnings:
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1

`git am`able fix attached.

-- Package-specific info:
System tainted due to merged-usr-via-symlinks.

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.11.0-38-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-2
ii  libc6        2.31-0ubuntu9.3
ii  liblzma5     5.2.4-1ubuntu1
ii  libselinux1  3.0-1build2
ii  libzstd1     1.4.4+dfsg-3ubuntu0.1
ii  tar          1.30+dfsg-7ubuntu0.20.04.1
ii  zlib1g       1:1.2.11.dfsg-2ubuntu1.2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.0.6
pn  debsig-verify  <none>

-- no debconf information
>From b8a017668fdcf0c8445bea0802e24050acfc8842 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.sky...@iki.fi>
Date: Sat, 13 Nov 2021 10:33:51 +0200
Subject: [PATCH] dselect: use `grep -E` instead of `egrep`

`egrep` has been deprecated in GNU grep since 2007, and in current post
3.7 Git it has been made to emit obsolescence warnings:
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1
---
 dselect/methods/multicd/setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dselect/methods/multicd/setup b/dselect/methods/multicd/setup
index 4ed0956a4..bbb99ff4d 100755
--- a/dselect/methods/multicd/setup
+++ b/dselect/methods/multicd/setup
@@ -159,7 +159,7 @@ if [ $option = multi_cd ]; then
     response=""
     while [ -z "$response" ]; do
       echo 'Several CD-ROMs (or other ISO9660 filesystems) are mounted:'
-      egrep 'type iso9660 \([^)]*\)$' <$tp.m | nl
+      grep -E 'type iso9660 \([^)]*\)$' <$tp.m | nl
       echo -n "Is it any of these ?  Type a number, or 'n' for none.  "
       read response
       response="$(echo \"$response\" | sed -e 's/[     ]*$//')"
-- 
2.25.1

Reply via email to