Unable to load MIME database from '/usr/share/cups/mime:/etc/cups'

Bug #92339 reported by vegacom
This bug report is a duplicate of:  Bug #92205: Error on cupsys update. Edit Remove
4
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cupsys

# apt-get install cupsys
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  cupsys-driver-gutenprint cupsys-driver-gimpprint foomatic-filters-ppds xpdf-korean xpdf-japanese
  xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf hplip
The following NEW packages will be installed:
  cupsys
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 0B/1620kB of archives.
After unpacking 8106kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package cupsys.
(Reading database ... 110405 files and directories currently installed.)
Unpacking cupsys (from .../cupsys_1.2.8-0ubuntu5_i386.deb) ...
Setting up cupsys (1.2.8-0ubuntu5) ...
 * Starting Common Unix Printing System: cupsd cupsd: Child exited with status 2!
invoke-rc.d: initscript cupsys, action "start" failed.
dpkg: error processing cupsys (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 cupsys
E: Sub-process /usr/bin/dpkg returned an error code (1)

# cat /var/log/cups/error_log
X [14/Mar/2007:14:33:40 -0600] Unable to load MIME database from '/usr/share/cups/mime:/etc/cups'!

Revision history for this message
Paul Swartz (paulswartz) wrote :

I'm also just seeing this bug. Reinstalling doesn't help. The files (mime.convs and mime.types) are both in /etc/cups.

Revision history for this message
Paul Swartz (paulswartz) wrote :

A fix:
sudo mkdir /usr/share/cups/mime
cd /usr/share/cups/mime
sudo ln -s /etc/cups/mime.types
sudo ln -s /etc/cups/mime.convs
sudo /etc/init.d/cupsys start

Revision history for this message
James Tait (jamestait) wrote :

The symlinks don't appear to be necessary -- simply creating /usr/share/cups/mime seems to solve the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.