tag 525599 + upstream patch forwarded 525599 https://bugs.kde.org/show_bug.cgi?id=303627 thanks
On Sat, 25 Apr 2009 22:44:13 +0200, Vincent Smeets wrote: >During an update with aptitude, I get the following error messages: > >Setting up kdelibs5-data (4:4.1.0-3) ... >Unknown media type in type 'all/all' > >Unknown media type in type 'all/allfiles' > >Unknown media type in type 'uri/mms' > >Unknown media type in type 'uri/mmst' > >Unknown media type in type 'uri/mmsu' > >Unknown media type in type 'uri/pnm' > >Unknown media type in type 'uri/rtspt' > >Unknown media type in type 'uri/rtspu' > >Unknown media type in type 'fonts/package' > >Unknown media type in type 'interface/x-winamp-skin' This is due to fake mime types listed in /usr/share/mime/packages/kde.xml It looks like Gentoo have been using a patch for this for some time: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/kde-base/kdelibs/files/kdelibs-4.7.96-mimetypes.patch There's also an upstream bug open for this : https://bugs.kde.org/show_bug.cgi?id=303627 I've attached a copy of the Gentoo patch (updated against the copy of kde.xml in kde4libs-4.13.1 -- Jim Scadden
--- a/mimetypes/kde.xml +++ b/mimetypes/kde.xml @@ -174,34 +174,6 @@ <glob pattern="*.abc"/> </mime-type> - <!-- all/ fake mime types --> - <mime-type type="all/all"> - <comment>all files and folders</comment> - </mime-type> - <mime-type type="all/allfiles"> - <comment>all files</comment> - </mime-type> - - <!-- uri/ fake mime types --> - <mime-type type="uri/mms"> - <comment>mms: URIs</comment> - </mime-type> - <mime-type type="uri/mmst"> - <comment>mmst: URIs</comment> - </mime-type> - <mime-type type="uri/mmsu"> - <comment>mmsu: URIs</comment> - </mime-type> - <mime-type type="uri/pnm"> - <comment>pnm: URIs</comment> - </mime-type> - <mime-type type="uri/rtspt"> - <comment>rtspt: URIs</comment> - </mime-type> - <mime-type type="uri/rtspu"> - <comment>rtspu: URIs</comment> - </mime-type> - <mime-type type="application/vnd.kde.fontspackage"> <sub-class-of type="application/zip"/> <comment>fonts package</comment>