Bug#517768: can't reproducing mime.cache problem.

Josselin Mouette joss at debian.org
Thu Sep 16 10:06:28 UTC 2010


Le jeudi 16 septembre 2010 à 10:47 +0200, Andreas Henriksson a écrit :
> > > So far I've found out that the error message originally quoted
> > > in the bug report is no longer part of nautilus (it was dropped
> > > in the gnomevfs->gio switch a long time ago).
> > 
> > Nope, the code is still here in nautilus.
> 
> Feel free to point out where... I can't find it.

Sorry, I meant it is in glib now.

> To get my custom mime type back I had to manually invoke
> "update-mime-database ~/.local/share/mime/" and then
> foo.abc was again detected as text/x-abc by gnomevfs-info.
> 
> It seems the mime cache is now simply ignored if it's in the old
> format.

Thanks a lot for the thorough testing.

> > It was a problem with lenny→squeeze upgrades back in 2009, but it might
> > simply have been fixed upstream.
> 
> Semi-fixed it seems. I wonder where this leaves us now...

Well now glib is behaving as it is supposed to do: the old cache format
is simply ignored - instead of breaking the whole MIME subsystem.
However it will not be regenerated upon upgrade. This should be done by
an upgrade script (which are usually run from gnome-settings-daemon),
not by glib itself.

All in all I don’t think we should consider this as RC anymore.

Cheers,
-- 
 .''`.
: :' :     “You would need to ask a lawyer if you don't know
`. `'       that a handshake of course makes a valid contract.”
  `-        --  J???rg Schilling







More information about the pkg-gnome-maintainers mailing list