[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792731: cups: incorrect MIME type on cups.css



On Mon, 20 Jul 2015 08:31:59 +0200, Didier 'OdyX' Raboud <odyx@debian.org>
wrote:
> Le dimanche, 19 juillet 2015, 15.29:28 Stephen Kitt a écrit :
> > On Sun, 19 Jul 2015 12:39:36 +0200, OdyX wrote:
> > > Okay. Do you happen to have mime.types or mime.convs files in
> > > /etc/cups or /usr/share/cups ?
> > 
> > Indeed, I have rather old copies in /etc/cups:
> > 
> > % ls -l /etc/cups/mime.*
> > -rw-r--r-- 1 root root 4424 Jul 11  2009 /etc/cups/mime.convs
> > -rw-r--r-- 1 root root 6184 Aug 20  2007 /etc/cups/mime.types
> 
> Ah, there! Can you confirm that deleting these two configuration files 
> restores the correct behaviour of the webinterface?
> 
> These files were removed from these paths in CUPS 1.4.0~svn8773-1, in 
> 2009, and weren't cleaned up back then. Let's fix that now!
> 
> (I can at least confirm that adding those from CUPS 1.3.11 (from 
> snapshot.d.o) indeed breaks the treatment of the cups.css file.)

I used your patch instead of removing the files directly. For the upgrade to
delete the files, you need to either drop the version from the rm_conffile
lines, or specify 2.0.3-8; specifying 1.4.0~svn8773-1~ means that the files
are only removed on upgrades from 1.4.0~svn8773-1~ (which wasn't the case for
me).

Anyway, once that's fixed and the files removed, the web interface works
correctly.

Thanks,

Stephen

Attachment: pgpq1qxnEVoa8.pgp
Description: OpenPGP digital signature


Reply to: