This bug hit stable in stable-20250811-slim and still exists today. Here's
how to reproduce.

docker run --rm -it debian:stable-slim bash -xc 'apt update && apt install
mc --no-install-recommends --yes && ldd /usr/bin/mc'

+ apt update
Get:1 http://deb.debian.org/debian stable InRelease [140 kB]
Get:2 http://deb.debian.org/debian stable-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security stable-security InRelease [43.4
kB]
Get:4 http://deb.debian.org/debian stable/main amd64 Packages [9669 kB]
Get:5 http://deb.debian.org/debian stable-updates/main amd64 Packages [5412
B]
Get:6 http://deb.debian.org/debian-security stable-security/main amd64
Packages [49.5 kB]
Fetched 9955 kB in 1s (11.4 MB/s)
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ apt install mc --no-install-recommends --yes
Installing:
  mc

Installing dependencies:
  libatomic1  libext2fs2t64  libffi8  libglib2.0-0t64  libgpm2  libslang2
 libssh2-1t64  mc-data

Suggested packages:
  low-memory-monitor  clzip          default-jdk-headless  glade
 libchm-bin     mpg321              python3-boto     unrar
  gpm                 | lunzip       djview4               gputils
 liblz4-tool    mplayer             python3-tz       | unrar-free
  antiword            | lzd          djvulibre-bin         groff-base
libxml2-utils  odt2txt             rar              vorbis-tools
  arc                 | lzip         elinks                gv
links2         | unoconv           rpm              wimtools
  | arcanist          | lziprecover  epub-utils            imagemagick
 links          p7zip-full          sox              wv
  arj                 | minilzip     | ncbi-entrez-direct  info           |
w3m          par2                sqlite3          xpdf
  binutils            | pdlzip       exif                  jlha-utils     |
lynx         poedit              timidity         | pdf-viewer
  bzip2               | plzip        file                  | lhasa
 lyx            | potool            unace            xpmutils
  cabextract          cpio           genisoimage           kchmviewer
xz-utils       poppler-utils       | unace-nonfree  zip
  catdoc              ctorrent       gettext               libaspell-dev
 man-db         procyon-decompiler  unalz            zstd
  texlive-binaries    dbview         ghostscript           libbatik-java
 mikmod         python3:any         unar

Recommended packages:
  libglib2.0-data  shared-mime-info  xdg-user-dirs  mailcap  perl
 sensible-utils  unzip

Summary:
  Upgrading: 0, Installing: 9, Removing: 0, Not Upgrading: 2
  Download size: 4465 kB
  Space needed: 16.2 MB / 131 GB available

Get:1 http://deb.debian.org/debian stable/main amd64 libatomic1 amd64
14.2.0-19 [9308 B]
Get:2 http://deb.debian.org/debian stable/main amd64 libext2fs2t64 amd64
1.47.2-3+b3 [213 kB]
Get:3 http://deb.debian.org/debian stable/main amd64 libffi8 amd64 3.4.8-2
[24.1 kB]
Get:4 http://deb.debian.org/debian stable/main amd64 libglib2.0-0t64 amd64
2.84.4-3~deb13u1 [1519 kB]
Get:5 http://deb.debian.org/debian stable/main amd64 libgpm2 amd64
1.20.7-11+b2 [14.4 kB]
Get:6 http://deb.debian.org/debian stable/main amd64 libslang2 amd64
2.3.3-5+b2 [549 kB]
Get:7 http://deb.debian.org/debian stable/main amd64 libssh2-1t64 amd64
1.11.1-1 [245 kB]
Get:8 http://deb.debian.org/debian stable/main amd64 mc-data all 3:4.8.33-1
[1341 kB]
Get:9 http://deb.debian.org/debian stable/main amd64 mc amd64 3:4.8.33-1
[550 kB]
Fetched 4465 kB in 0s (96.2 MB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm
line 79, <STDIN> line 9.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install
the Term::ReadLine module) (@INC entries checked: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1
/usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40
/usr/share/perl/5.40 /usr/local/lib/site_perl) at
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 9.)
debconf: falling back to frontend: Teletype
Selecting previously unselected package libatomic1:amd64.
(Reading database ... 4935 files and directories currently installed.)
Preparing to unpack .../0-libatomic1_14.2.0-19_amd64.deb ...
Unpacking libatomic1:amd64 (14.2.0-19) ...
Selecting previously unselected package libext2fs2t64:amd64.
Preparing to unpack .../1-libext2fs2t64_1.47.2-3+b3_amd64.deb ...
Adding 'diversion of /lib/x86_64-linux-gnu/libe2p.so.2 to
/lib/x86_64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libe2p.so.2.3 to
/lib/x86_64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libext2fs.so.2 to
/lib/x86_64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libext2fs.so.2.4 to
/lib/x86_64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64'
Unpacking libext2fs2t64:amd64 (1.47.2-3+b3) ...
Selecting previously unselected package libffi8:amd64.
Preparing to unpack .../2-libffi8_3.4.8-2_amd64.deb ...
Unpacking libffi8:amd64 (3.4.8-2) ...
Selecting previously unselected package libglib2.0-0t64:amd64.
Preparing to unpack .../3-libglib2.0-0t64_2.84.4-3~deb13u1_amd64.deb ...
Unpacking libglib2.0-0t64:amd64 (2.84.4-3~deb13u1) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../4-libgpm2_1.20.7-11+b2_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-11+b2) ...
Selecting previously unselected package libslang2:amd64.
Preparing to unpack .../5-libslang2_2.3.3-5+b2_amd64.deb ...
Unpacking libslang2:amd64 (2.3.3-5+b2) ...
Selecting previously unselected package libssh2-1t64:amd64.
Preparing to unpack .../6-libssh2-1t64_1.11.1-1_amd64.deb ...
Unpacking libssh2-1t64:amd64 (1.11.1-1) ...
Selecting previously unselected package mc-data.
Preparing to unpack .../7-mc-data_3%3a4.8.33-1_all.deb ...
Unpacking mc-data (3:4.8.33-1) ...
Selecting previously unselected package mc.
Preparing to unpack .../8-mc_3%3a4.8.33-1_amd64.deb ...
Unpacking mc (3:4.8.33-1) ...
Setting up libgpm2:amd64 (1.20.7-11+b2) ...
Setting up libslang2:amd64 (2.3.3-5+b2) ...
Setting up libatomic1:amd64 (14.2.0-19) ...
Setting up mc-data (3:4.8.33-1) ...
Setting up libffi8:amd64 (3.4.8-2) ...
Setting up libext2fs2t64:amd64 (1.47.2-3+b3) ...
Setting up libssh2-1t64:amd64 (1.11.1-1) ...
Setting up libglib2.0-0t64:amd64 (2.84.4-3~deb13u1) ...
No schema files found: doing nothing.
Setting up mc (3:4.8.33-1) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view)
in auto mode
update-alternatives: warning: skip creation of
/usr/share/man/man1/view.1.gz because associated file
/usr/share/man/man1/mcview.1.gz (of link group view) doesn't exist
update-alternatives: using /usr/bin/mcedit to provide /usr/bin/editor
(editor) in auto mode
update-alternatives: warning: skip creation of
/usr/share/man/man1/editor.1.gz because associated file
/usr/share/man/man1/mcedit.1.gz (of link group editor) doesn't exist
Processing triggers for libc-bin (2.41-12) ...
+ ldd /usr/bin/mc
        linux-vdso.so.1 (0x00007ffdf76cc000)
        libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2
(0x00007f35ee04c000)
        libgpm.so.2 => /lib/x86_64-linux-gnu/libgpm.so.2
(0x00007f35ee044000)
        libe2p.so.2 => /lib/x86_64-linux-gnu/libe2p.so.2
(0x00007f35ee039000)
        libssh2.so.1 => /lib/x86_64-linux-gnu/libssh2.so.1
(0x00007f35edff1000)
        libext2fs.so.2 => /lib/x86_64-linux-gnu/libext2fs.so.2
(0x00007f35edf83000)
        libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0
(0x00007f35edf7a000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007f35ede22000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f35edc2c000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f35edb3c000)
        libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3
(0x00007f35ed504000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f35ed4e4000)
        libcom_err.so.2 => not found
        libatomic.so.1 => /lib/x86_64-linux-gnu/libatomic.so.1
(0x00007f35ed4d8000)
        libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0
(0x00007f35ed429000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f35ee554000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1
(0x00007f35ed35f000)

Reply via email to