[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010447: ibus-typing-booster: broken shebang line in emoji-picker



Hi Gunnar,

Gunnar Hjalmarsson <gunnarhj@debian.org> wrote:
>I'm struggling to understand the nature of this issue.
>
>On 2022-05-01 21:36, Frank Dietrich wrote:
>> Running `/usr/bin/emoji-picker` fails with `/usr/bin/sh: bad
>> interpreter: No such file or directory`
>
>I can't reproduce that on my Debian testing, since I have the symlink
>/usr/bin/sh (pointing to dash). Don't know how that symlink was
>created, though.

Following I could figure out. On a Debian bullseye machine there is a
symlink from /usr/bin/sh to /usr/bin/dash. Whereas on a bookworm system
both entries do not exist. Can't tell since when at least the
/usr/bin/sh was gone. I only noticed it as the emoji-picker stopped to
work.

bullseye:~$ ls -litc /bin/sh /bin/dash /usr/bin/sh /usr/bin/dash
132857 lrwxrwxrwx 1 root root      4 Mar 13 17:11 /bin/sh -> dash
132857 lrwxrwxrwx 1 root root      4 Mar 13 17:11 /usr/bin/sh -> dash
132847 -rwxr-xr-x 1 root root 125560 Mar 13 17:07 /bin/dash
132847 -rwxr-xr-x 1 root root 125560 Mar 13 17:07 /usr/bin/dash

Based on the output, the entries in /usr/bin/ are hardlinks to
the entries in /bin/.

bookwork:~$ ls -litc /bin/sh /bin/dash /usr/bin/sh /usr/bin/dash
ls: cannot access '/usr/bin/sh': No such file or directory
ls: cannot access '/usr/bin/dash': No such file or directory
130809 lrwxrwxrwx 1 root root    4 2022-03-23 00:56 /bin/sh -> dash
130553 -rwxr-xr-x 1 root root 123K 2022-03-23 00:56 /bin/dash

On bath machines the dash package provides the entries in /bin/

$ dpkg -L dash | grep -E "bin/(sh|dash)$"
/bin/dash
/bin/sh

What I couldn't find out, how the hardlinks were created. I checked the
packages

dash_0.5.10.2-5_amd64.deb
dash_0.5.11+git20200708+dd9ef66-5_amd64.deb

but couldn't find anything realated in the DEBINA/* scripts.

cheers
Frank
--


Reply to: