I tried to reproduce the bug in current KUbuntu 20.10 with xdg-utils of version 1.1.3-2ubuntu1 or future Ubuntu 21.04 with xdg-utils of version 1.1.3-2ubuntu2 and uninstalled the "file" package. In both cases, xdg- mime correctly outputted type of an image. Example:
$ xdg-mime query filetype /usr/share/backgrounds/ubuntu-default-greyscale-wallpaper.png image/png What DE do you use? Please attach an output of a command to xdg-mime with "bash -x" prepended (without quotes). ** Changed in: xdg-utils (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1256478 Title: Missing dependency "file" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1256478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs