Package: ksh93u+m
Version: 1.0.3-1
Severity: normal

Upgrading today I noticed this warning printed by the package.

    update-binfmts: warning: current package is ksh93u+m, but binary format 
already installed by ksh

Looking a little closer I find that the package did not transition the
binfmts from the old package name to the new package name at
transition.  This still needs to be done.

    $ ls -l /var/lib/binfmts | grep ksh
    -rw-r--r-- 1 root root 39 Sep  6  2021 ksh

    $ cat /var/lib/binfmts/ksh
    ksh
    magic
    0
    \x0B\x13\x08

    /bin/ksh

The relevant postinst snippet is this which indicates that this is a
known deficiency.  I did not see a bug tracking this deficiency and
therefor this report.  The registration should be migrated to ksh93u+m.

    if command -v update-binfmts >/dev/null && test -r /usr/share/binfmts/ksh; 
then
            # ignore error, it probably was registered by ksh
            update-binfmts --package ksh93u+m --import ksh || true
    fi

Thank you for maintaining ksh in Debian.

Bob




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ksh93u+m depends on:
ii  libc6  2.34-7

ksh93u+m recommends no packages.

Versions of packages ksh93u+m suggests:
ii  binfmt-support  2.2.2-1

-- no debconf information

Reply via email to