package openjdk-7-jre-headless (not installed) failed to install/upgrade: conffile './etc/java-7-openjdk/fontconfig.bfc' is not in sync with other instances of the same package

Bug #964303 reported by trustin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openjdk-7 (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

I had amd64 version of openjdk 7 installed already and attempted to install the i386 one. apt-get entered some weird state where the installation fails. I think at least apt-get (or dpkg) should reject such an attempt or make the installation work.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: openjdk-7-jre-headless (not installed)
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Sat Mar 24 12:39:53 2012
ErrorMessage: conffile './etc/java-7-openjdk/fontconfig.bfc' is not in sync with other instances of the same package
SourcePackage: openjdk-7
Title: package openjdk-7-jre-headless (not installed) failed to install/upgrade: conffile './etc/java-7-openjdk/fontconfig.bfc' is not in sync with other instances of the same package
UpgradeStatus: Upgraded to precise on 2012-03-20 (4 days ago)

Revision history for this message
trustin (trustin) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in openjdk-7 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Milligan (milli) wrote :

I just ripped open both the amd64 package and the i386 package... these file '/etc/java-7-openjdk/fontconfig.bfc' is actually "in sync" between the two packages, but both are files of 0 length. I think this may be a compare bug in the pre/postinst files? Or a bug in dpkg itself?

Revision history for this message
Michael Milligan (milli) wrote :

Yeah, looks like this may be an issue in dpkg...

# strings /usr/bin/dpkg | grep is\ not\ in
conffile '%s' is not in sync with other instances of the same package
  %.250s is not installed.
  Package %s which provides %s is not installed.
  Package %s is not installed.

# dpkg -S /usr/bin/dpkg
dpkg: /usr/bin/dpkg

# dpkg -l dpkg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================================-======================================-============================================================================================
ii dpkg 1.16.1.2ubuntu5 Debian package management system

Revision history for this message
Matthias Klose (doko) wrote :

fontconfig.bfc not shipped anymore in quantal

Changed in openjdk-7 (Ubuntu):
status: Confirmed → Fix Released
Changed in openjdk-7 (Ubuntu Precise):
milestone: none → precise-updates
Changed in openjdk-7 (Ubuntu Precise):
status: New → 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.