Update to Fedora 42 broke ding

Hello,

After upgrading Fedora from 41 to 42 ding 1.9 is not working anymore. Terminal shows Error in startup script: couldn't read file "/usr/bin/ding": invalid or incomplete multibyte or wide character

Any idea how to fix this?

It seems that ding is a script and that that script is not a valid dnf-8 file.
What does file /usr/bin/ding report?

If it is a python script then you need a version that has fixed the non-utf8 encoding issue.

1 Like
desktop-file-install \
    --dir="${HOME}/.local/share/applications" \
    --set-key="Exec" \
    --set-value="wish -encoding iso8859-1 $(type -P ding)" \
    /usr/share/applications/ding.desktop
1 Like
/usr/bin/ding: POSIX shell script, ISO-8859 text executable

This works, thanks.

1 Like