[8023] in athena10

home help back first fref pref prev next nref lref last post

Re: [Debathena] #975: ttf-msttcorefonts-installer postinst fails

daemon@ATHENA.MIT.EDU (Debathena Trac)
Sun Jul 31 21:49:43 2011

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
From: "Debathena Trac" <debathena@MIT.EDU>
Cc: debathena@mit.edu
To: geofft@mit.edu, jdreed@mit.edu, kaduk@mit.edu
Date: Mon, 01 Aug 2011 01:49:35 -0000
Reply-To: 
Message-ID: <052.fc4c514487bc1ec361200289083c9106@mit.edu>
In-Reply-To: <043.c86530d8cd4c66fab58576fab0632818@mit.edu>
Content-Transfer-Encoding: 8bit

#975: ttf-msttcorefonts-installer postinst fails when ubuntu-desktop is pulled in
by debathena--------------------+-------------------------------------------------------
 Reporter:  geofft  |        Owner:               
     Type:  defect  |       Status:  reopened     
 Priority:  high    |    Milestone:  Natty Release
Component:  --      |   Resolution:               
 Keywords:          |     See_also:               
--------------------+-------------------------------------------------------
Comment(by geofft):
 Anders and I found the bug: fontconfig's postinst decides to "clean up"
 empty directories in /usr/share/fonts, of which
 /usr/share/fonts/truetype/msttcorefonts is one until ttf-msttcorefonts-
 installer's postinst gets run. Since fontconfig gets configured before
 ttf-msttcorefonts-installer, but all packages are unpacked first before
 anything is configured, the directory gets deleted.

 {{{
   for dir in /usr/share/fonts /var/lib/defoma/fontconfig.d
 /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ; do
         if [ -d $dir ]; then
             find $dir -name fonts.cache-1 -exec rm -f \{\} \;
             find $dir -depth -mindepth 1 -type d -exec rmdir --ignore-
 fail-on-non-empty \{\} \;
         fi
   done
 }}}

 r25336 should work around this. I'll go test...
-- Ticket URL: <http://debathena.mit.edu/trac/ticket/975#comment:13>Debathena <http://debathena.mit.edu/>MIT Debathena Project

home help back first fref pref prev next nref lref last post