FS#42506 - [keepass] "Unknown media type in type" errors during installation
Attached to Project:
Community Packages
Opened by Brendan (watricky) - Thursday, 23 October 2014, 08:02 GMT
Last edited by Timothy Redaelli (tredaelli) - Tuesday, 04 November 2014, 16:09 GMT
Opened by Brendan (watricky) - Thursday, 23 October 2014, 08:02 GMT
Last edited by Timothy Redaelli (tredaelli) - Tuesday, 04 November 2014, 16:09 GMT
|
Details
Description:
Installation for keepass results in mime errors/warnings being displayed. Similar issues in the past affecting other packages indicates that this output is normally suppressed. See: https://bbs.archlinux.org/viewtopic.php?id=79567 https://bbs.archlinux.org/viewtopic.php?id=154398 https://bbs.archlinux.org/viewtopic.php?id=166743 Additional info: * package version(s) [2014-10-23 08:05] [PACMAN] upgraded keepass (2.27-1 -> 2.28-1) * config and/or log files etc. See full pacman output in attachment. Steps to reproduce: ~ $ sudo pacman -Syu :: Synchronising package databases... core 116.9 KiB 3.17M/s 00:00 [#######################################################] 100% ... [snip] ... (1/7) upgrading keepass [#######################################################] 100% Unknown media type in type 'chemical/x-alchemy' Unknown media type in type 'chemical/x-cache' Unknown media type in type 'chemical/x-cactvs-ascii' Unknown media type in type 'chemical/x-cactvs-binary' Unknown media type in type 'chemical/x-cactvs-table' Unknown media type in type 'chemical/x-cdx' Unknown media type in type 'chemical/x-cdxml' Unknown media type in type 'chemical/x-chem3d' Unknown media type in type 'chemical/x-cif' Unknown media type in type 'chemical/x-cml' Unknown media type in type 'chemical/x-daylight-smiles' ... [etc] |
This task depends upon
Closed by Timothy Redaelli (tredaelli)
Tuesday, 04 November 2014, 16:09 GMT
Reason for closing: Fixed
Tuesday, 04 November 2014, 16:09 GMT
Reason for closing: Fixed
pacmanlog-terminal.log
grep -l 'chemical/x-cache' shows no results
grep -l 'chemical/x' shows:
/usr/share/applications/avogadro.desktop
/usr/share/applications/mimeinfo.cache
$ pacman -Qo /usr/share/applications/avogadro.desktop
/usr/share/applications/avogadro.desktop is owned by avogadro 1.1.1-3
$ pacman -Qo /usr/share/applications/mimeinfo.cache
error: No package owns /usr/share/applications/mimeinfo.cache
$ pacman -Qi avogadro | grep 'Dep\|Optional\|Required'
Depends On : openbabel python2-pyqt boost-libs glew python2-numpy
Optional Deps : None
Required By : None
Optional For : None
According to my pacman log, avogadro was originally installed along with KDE when I first installed my system:
[2012-12-30 17:05] Running 'pacman -S kde-meta'
... [snip] ...
[2012-12-30 17:17] installed avogadro (1.1.0-1)
... [snips] ...
[2013-01-07 20:57] upgraded avogadro (1.1.0-1 -> 1.1.0-2)
[2013-01-29 08:38] upgraded avogadro (1.1.0-2 -> 1.1.0-3)
[2013-04-03 13:39] upgraded avogadro (1.1.0-3 -> 1.1.0-4)
[2013-07-23 19:22] [PACMAN] upgraded avogadro (1.1.0-4 -> 1.1.0-5)
[2013-12-08 16:01] [PACMAN] upgraded avogadro (1.1.0-5 -> 1.1.0-6)
[2014-01-20 07:41] [PACMAN] upgraded avogadro (1.1.0-6 -> 1.1.1-1)
[2014-02-11 07:31] [PACMAN] upgraded avogadro (1.1.1-1 -> 1.1.1-2)
[2014-09-08 07:58] [PACMAN] upgraded avogadro (1.1.1-2 -> 1.1.1-3)
$ grep -R 'chemical/x-cache' /usr/share/mime/packages/
/usr/share/mime/packages/chemical-mime-data.xml: MIME-Type: chemical/x-cache
/usr/share/mime/packages/chemical-mime-data.xml: <mime-type type="chemical/x-cache">
$ pacman -Qo /usr/share/mime/packages/chemical-mime-data.xml
/usr/share/mime/packages/chemical-mime-data.xml is owned by chemical-mime-data 0.1.94-7
$ pacman -Qi chemical-mime-data | grep 'Dep\|Optional\|Required\|Reason'
Depends On : xdg-utils gnome-mime-data hicolor-icon-theme
Optional Deps : None
Required By : None
Optional For : None
Install Reason : Installed as a dependency for another package
pacman log shows it was installed during an -Syu upgrade:
[2013-02-13 13:03] Running 'pacman -Syu'
... [snip] ...
[2013-02-13 13:15] installed chemical-mime-data (0.1.94-6)
... [snip] ...
[2014-07-01 07:16] [PACMAN] upgraded chemical-mime-data (0.1.94-6 -> 0.1.94-7)
Regarding suppressing the error, it is starting to sound like it is actually the wrong procedure. Perhaps it would be better to parse the error/warning and to give the user output they can use intuitively to find the cause (rather than have us pester you guys). ;)
[edit] - can haz grammar