** Description changed: - When running: + * Impact - $ sudo update-desktop-database + The "update-desktop-database" command outputs some "invalid MIME type" + warnings - I get this: + * Test case + - install gnome-font-viewer if it's not installed + - $ sudo update-desktop-database + + you should not get warnings like those Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type) Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type) + * Regression potential - I think this is the same bug as this one: https://bugzilla.redhat.com/show_bug.cgi?id=1564650 + Check that fonts files can still be opened from nautilus and preview + (browse e.g /usr/share/fonts/type1/gsfonts in nautilus and open a file + from there) + + ------------------------------------------------------ + + I think this is the same bug as this one: + https://bugzilla.redhat.com/show_bug.cgi?id=1564650 Other info: 1. $ lsb_release -rd Description: Ubuntu 18.04 LTS Release: 18.04 2. $ apt-cache policy desktop-file-utils desktop-file-utils: - Installed: 0.23-1ubuntu3 - Candidate: 0.23-1ubuntu3 - Version table: - *** 0.23-1ubuntu3 500 - 500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 0.23-1ubuntu3 + Candidate: 0.23-1ubuntu3 + Version table: + *** 0.23-1ubuntu3 500 + 500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages + 100 /var/lib/dpkg/status 3. Expected `sudo update-desktop-database` to not return an error 4. Error regarding invalid MIME type (see above) was returned. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: desktop-file-utils 0.23-1ubuntu3 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue May 1 11:11:05 2018 InstallationDate: Installed on 2018-04-29 (1 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) ProcEnviron: - TERM=xterm-256color - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: desktop-file-utils UpgradeStatus: No upgrade log present (probably fresh install)
** Changed in: desktop-file-utils (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to desktop-file-utils in Ubuntu. https://bugs.launchpad.net/bugs/1768271 Title: sudo update-desktop-database results in "font/ttf" is an invalid MIME type ("font" is an unregistered media type) Status in desktop-file-utils package in Ubuntu: Fix Committed Status in desktop-file-utils source package in Bionic: Triaged Bug description: * Impact The "update-desktop-database" command outputs some "invalid MIME type" warnings * Test case - install gnome-font-viewer if it's not installed - $ sudo update-desktop-database you should not get warnings like those Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type) Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type) * Regression potential Check that fonts files can still be opened from nautilus and preview (browse e.g /usr/share/fonts/type1/gsfonts in nautilus and open a file from there) ------------------------------------------------------ I think this is the same bug as this one: https://bugzilla.redhat.com/show_bug.cgi?id=1564650 Other info: 1. $ lsb_release -rd Description: Ubuntu 18.04 LTS Release: 18.04 2. $ apt-cache policy desktop-file-utils desktop-file-utils: Installed: 0.23-1ubuntu3 Candidate: 0.23-1ubuntu3 Version table: *** 0.23-1ubuntu3 500 500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status 3. Expected `sudo update-desktop-database` to not return an error 4. Error regarding invalid MIME type (see above) was returned. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: desktop-file-utils 0.23-1ubuntu3 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue May 1 11:11:05 2018 InstallationDate: Installed on 2018-04-29 (1 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: desktop-file-utils UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/desktop-file-utils/+bug/1768271/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp