msttcorefonts fails to install because of bad fontconfig interaction

Bug #819106 reported by Geoffrey Thomas
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
msttcorefonts (Ubuntu)
Fix Released
High
Ubuntu Foundations Team

Bug Description

Per the following bug
http://bugs.debian.org/636173
https://bugs.launchpad.net/bugs/819097

fontconfig's postinst likes to delete empty directories in /usr/share/fonts. Unfortunately, msttcorefonts packages an empty directory, /usr/share/fonts/truetype/msttcorefonts, and depends on its existence in its own postinst. Therefore, if you install these two packages in the same install run, msttcorefonts' postinst fails.

I've attached a debdiff to create this directory in the postinst instead of packaging it in debian/dirs.

This is a re-filing of my comment at the bottom of
https://bugs.launchpad.net/bugs/670629
I can't seem to reopen a "Fix released" bug, and it seemed better to open a new bug anyway. See that bug for some more context.

Tags: patch
Revision history for this message
Geoffrey Thomas (geofft) wrote :
Changed in msttcorefonts (Ubuntu):
status: New → Confirmed
tags: added: patch
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

I'm not certain what the bug workflow for foundations is supposed to be, so I assigned to Ubuntu Foundations. I suspect that mvo will be assigned the bug ultimately, so I subscribed him. I also subscribed Amanda because, aiui, this whole eula thing springs from some legal obligations.

Changed in msttcorefonts (Ubuntu):
assignee: nobody → Ubuntu Foundations Team (ubuntu-foundations-team)
importance: Undecided → High
Changed in msttcorefonts (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks a bunch Geoffrey! I sponsored the upload now.

Revision history for this message
Michael Vogt (mvo) wrote :

msttcorefonts (3.3ubuntu4) oneiric; urgency=low

  * Create /usr/share/fonts/truetype/msttcorefonts in the postinst
    instead of packaging it to work around a bad interaction with
    fontconfig's postinst: see Ubuntu bug 819097. (LP: #670629)

Date: Sun, 31 Jul 2011 22:43:26 -0400
Changed-By: Geoffrey Thomas <email address hidden>
Maintainer: Ubuntu Developers <email address hidden>
Signed-By: Michael Vogt <email address hidden>
https://launchpad.net/ubuntu/oneiric/+source/msttcorefonts/3.3ubuntu4

Changed in msttcorefonts (Ubuntu):
status: Triaged → Fix Released
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.