The edit you should have made to /etc/mailcap was to remove the single quotes around the "%s" part of the display command ...
broken mailcap line :- image/png; display 'png:'%s''; test=test -n "$DISPLAY" fixed mailcap line :- image/png; display 'png:%s'; test=test -n "$DISPLAY" I suspect that this bug should attack to imagemagick, rather than to mime-support. The capabilities for "image/png" are not present in a minimal install, and there are terefore no lines in /etc/mailcap. It's only when you introduce the imagemagick package (and its dependencies) that any capability for image/png appears, and it is broken, as described. ** Also affects: imagemagick Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/973173 Title: /etc/mailcap syntax problem To manage notifications about this bug go to: https://bugs.launchpad.net/imagemagick/+bug/973173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs