fontconfig breaks Trusty - Xenial upgrade

Bug #1540591 reported by Jeff Lane 
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Fix Released
Critical
Iain Lane
Xenial
Fix Released
Critical
Iain Lane

Bug Description

Attempting to upgrade a fully updated 14.04.3 system to Xenial using the do-release-upgrade tool.

The upgrade proceeds until it attempts to install fontconfig. This fails and causes a cascading set of failures for 160+ more packages resulting in a system that boots, and has console access, but no Unity, and other things that either fail to work or only work halfway.

Attempts after the failed upgrade to fix the issues via "apt-get -f install" fail with the same errors as seen during the upgrade.

Here's the apt term log showing the errors, starting with fontconfig:

http://paste.ubuntu.com/14852379/

And here's the contents of fontconfig.log as suggested by trying to manually install fontconfig vai "apt-get install fontconfig"

/usr/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 9 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 59 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 1 fonts, 19 dirs
/usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/droid: caching, new cache contents: 18 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
/usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/truetype/nanum: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/takao-gothic: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/tlwg: caching, new cache contents: 54 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 17 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-punjabi-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu-font-family: caching, new cache contents: 13 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/.local/share/fonts: skipping, no such directory
Re-scanning /usr/share/fonts: fc-cache: symbol lookup error: fc-cache: undefined symbol: FcDirCacheRescan

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fontconfig (Ubuntu):
status: New → Confirmed
Changed in fontconfig (Ubuntu):
importance: Undecided → Critical
Changed in fontconfig (Ubuntu Xenial):
milestone: none → ubuntu-16.02
Revision history for this message
Sebastien Bacher (seb128) wrote :

Seems like the issue is that fontconfig gets updated before its lib and the cache update fails due to the missing symbols.

It looks like the shlibs in debian/rules should be updated to 2.11.1 ...

Iain you did that update, does that seems right to you? Would it be enough to ensure the library is unpacked before the service or do we need a pre-depends there?

Changed in fontconfig (Ubuntu Xenial):
assignee: nobody → Iain Lane (laney)
Revision history for this message
Iain Lane (laney) wrote :

Hopefully what I just uploaded will fix this, let's see.

Changed in fontconfig (Ubuntu Xenial):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fontconfig - 2.11.1-0ubuntu8

---------------
fontconfig (2.11.1-0ubuntu8) xenial; urgency=medium

  * Make things depend on ≥ version-of-libfontconfig1-they-were-built-with, so
    that on new releases the library is upgraded before its rdeps. (LP:
    #1540591)

 -- Iain Lane <email address hidden> Tue, 01 Mar 2016 10:44:25 +0000

Changed in fontconfig (Ubuntu Xenial):
status: Fix Committed → 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.