2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux The issue appears to be in kdelibs5-data I noticed this immediately after installing amarok. Thought that might be the problem, so I purged amarok & still get the messages. Then I notice after purging amarok the following are listed for autoremove: $ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: amarok-common amarok-utils kdemultimedia-kio-plugins libkcddb4 liblastfm0 libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql libqtscript4-uitools libqtscript4-xml libtag-extras1 0 upgraded, 0 newly installed, 12 to remove and 1 not upgraded. After this operation, 29.0MB disk space will be freed. Do you want to continue [Y/n]? That didn't work. so now that amarok is fully purged I reinstall kdelibs5 & purge it (I can reinstall the apps it removes): $ sudo apt-get purge kdelibs5 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libfli1 klettres-data libindi0 libnova-0.12-2 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: gwenview* kdebase-bin* kdebase-runtime* kdebase-runtime-bin-kde4* kdelibs-bin* kdelibs5* khelpcenter* khelpcenter4* klettres* klipper* kompare* konsole* krdc* krfb* kstars* libkipi6* libknotificationitem1* libokularcore1* libplasma3* okular* okular-extra-backends* 0 upgraded, 0 newly installed, 21 to remove and 1 not upgraded. After this operation, 59.3MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 335134 files and directories currently installed.) Removing gwenview ... Purging configuration files for gwenview ... Removing kdebase-bin ... Purging configuration files for kdebase-bin ... Removing klipper ... Purging configuration files for klipper ... Removing okular-extra-backends ... Purging configuration files for okular-extra-backends ... Removing okular ... Purging configuration files for okular ... Removing kstars ... Purging configuration files for kstars ... Removing krfb ... Removing krdc ... Purging configuration files for krdc ... Removing konsole ... Removing kompare ... Purging configuration files for kompare ... Removing klettres ... Purging configuration files for klettres ... Removing khelpcenter ... Removing khelpcenter4 ... Removing libokularcore1 ... Purging configuration files for libokularcore1 ... Removing libkipi6 ... Purging configuration files for libkipi6 ... Removing kdebase-runtime ... Purging configuration files for kdebase-runtime ... Removing kdebase-runtime-bin-kde4 ... Removing libplasma3 ... Purging configuration files for libplasma3 ... Removing libknotificationitem1 ... Purging configuration files for libknotificationitem1 ... Removing kdelibs5 ... Purging configuration files for kdelibs5 ... dpkg: warning: while removing kdelibs5, directory '/usr/lib/kde4' not empty so not removed. Removing kdelibs-bin ... Processing triggers for hicolor-icon-theme ... Processing triggers for desktop-file-utils ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for man-db ... And use the 'test': $ sudo apt-get install --reinstall shared-mime-info Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libclucene0ldbl libqca2 libqimageblitz4 kdebase-runtime-data-common kdebase-data phonon liblzma0 libsoprano4 libfli1 klettres-data libpoppler-qt4-3 libstreamanalyzer0 libindi0 phonon-backend-xine libstreams0 libepub0 soprano-daemon kdebase-runtime-data libnova-0.12-2 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0B/382kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 334229 files and directories currently installed.) Preparing to replace shared-mime-info 0.70-0ubuntu1 (using .../shared-mime-info_0.70-0ubuntu1_i386.deb) ... Unpacking replacement shared-mime-info ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 changed doc-base file(s)... Registering documents with scrollkeeper... Setting up shared-mime-info (0.70-0ubuntu1) ... 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' Notice the 'autoremove': $ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: kdebase-data kdebase-runtime-data kdebase-runtime-data-common klettres-data libclucene0ldbl libepub0 libfli1 libindi0 liblzma0 libnova-0.12-2 libpoppler-qt4-3 libqca2 libqimageblitz4 libsoprano4 libstreamanalyzer0 libstreams0 phonon phonon-backend-xine soprano-daemon 0 upgraded, 0 newly installed, 19 to remove and 1 not upgraded. After this operation, 31.8MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 334228 files and directories currently installed.) Removing kdebase-data ... Removing kdebase-runtime-data ... Removing kdebase-runtime-data-common ... Removing klettres-data ... Removing libstreamanalyzer0 ... Removing libepub0 ... Removing libindi0 ... Removing libfli1 ... Removing liblzma0 ... Removing libnova-0.12-2 ... Removing libpoppler-qt4-3 ... Removing libqca2 ... Removing libqimageblitz4 ... Removing libstreams0 ... Removing phonon ... Removing phonon-backend-xine ... Removing libsoprano4 ... Removing soprano-daemon ... Removing libclucene0ldbl ... Processing triggers for shared-mime-info ... 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' Processing triggers for desktop-file-utils ... Processing triggers for man-db ... Processing triggers for hicolor-icon-theme ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place And try the 'test' again & still get the messages. But I notice kdelibs5-data doesn't get purged : $ apt-cache policy kdelibs5-data kdelibs5-data: Installed: 4:4.3.2-0ubuntu7 Candidate: 4:4.3.2-0ubuntu7 Version table: *** 4:4.3.2-0ubuntu7 0 500 http://archive.ubuntu.com karmic/main Packages 100 /var/lib/dpkg/status $ sudo apt-get purge kdelibs5-data Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: liblualib50 kmymoney2-common libavahi-qt3-1 liblua50 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: kdelibs-data* kdelibs4c2a* kdelibs5-data* kmymoney2* kmymoney2-plugin-aqbanking* 0 upgraded, 0 newly installed, 5 to remove and 1 not upgraded. After this operation, 90.3MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 332076 files and directories currently installed.) Removing kmymoney2-plugin-aqbanking ... Removing kmymoney2 ... Purging configuration files for kmymoney2 ... Removing kdelibs4c2a ... Purging configuration files for kdelibs4c2a ... dpkg: warning: while removing kdelibs4c2a, directory '/usr/lib/kde3' not empty so not removed. Removing kdelibs-data ... Purging configuration files for kdelibs-data ... Removing kdelibs5-data ... Purging configuration files for kdelibs5-data ... Processing triggers for menu ... Processing triggers for desktop-file-utils ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for man-db ... Processing triggers for shared-mime-info ... Processing triggers for hicolor-icon-theme .. And *finally*: $ sudo apt-get install --reinstall shared-mime-info Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: liblualib50 kmymoney2-common libavahi-qt3-1 liblua50 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0B/382kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 325256 files and directories currently installed.) Preparing to replace shared-mime-info 0.70-0ubuntu1 (using .../shared-mime-info_0.70-0ubuntu1_i386.deb) ... Unpacking replacement shared-mime-info ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 changed doc-base file(s)... Registering documents with scrollkeeper... Setting up shared-mime-info (0.70-0ubuntu1) ... So, something in kdelibs5-data seems to be the cause. Here's the litmus test: $ sudo apt-get install kdelibs5-data Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: liblualib50 kmymoney2-common libavahi-qt3-1 liblua50 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: kdelibs5-data 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 2,501kB of archives. After this operation, 21.3MB of additional disk space will be used. Get:1 http://archive.ubuntu.com karmic/main kdelibs5-data 4:4.3.2-0ubuntu7 [2,501kB] Fetched 2,501kB in 23s (105kB/s) Selecting previously deselected package kdelibs5-data. (Reading database ... 325256 files and directories currently installed.) Unpacking kdelibs5-data (from .../kdelibs5-data_4%3a4.3.2-0ubuntu7_all.deb) ... Processing triggers for man-db ... Processing triggers for hicolor-icon-theme ... Processing triggers for shared-mime-info ... 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' Setting up kdelibs5-data (4:4.3.2-0ubuntu7) ... $ sudo apt-get purge kdelibs5-data Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: liblualib50 kmymoney2-common libavahi-qt3-1 liblua50 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: kdelibs5-data* 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. After this operation, 21.3MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 327417 files and directories currently installed.) Removing kdelibs5-data ... Purging configuration files for kdelibs5-data ... Processing triggers for shared-mime-info ... Processing triggers for hicolor-icon-theme ... Processing triggers for man-db ... $ sudo apt-get install --reinstall shared-mime-info Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: liblualib50 kmymoney2-common libavahi-qt3-1 liblua50 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 0B/382kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 325256 files and directories currently installed.) Preparing to replace shared-mime-info 0.70-0ubuntu1 (using .../shared-mime-info_0.70-0ubuntu1_i386.deb) ... Unpacking replacement shared-mime-info ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 changed doc-base file(s)... Registering documents with scrollkeeper... Setting up shared-mime-info (0.70-0ubuntu1) ...