Public bug reported:

When running:

$ sudo update-desktop-database

I get this:

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)


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)

** Affects: desktop-file-utils (Ubuntu)
     Importance: Low
         Status: In Progress


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/desktop-file-utils/+bug/1768271/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to