package fontconfig-config 2.6.0-2ubuntu2 failed to install/upgrade:

Bug #247718 reported by Olof Kindgren
92
This bug affects 4 people
Affects Status Importance Assigned to Milestone
doc-base (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: fontconfig

Upgrade to intrepid alpha 1

ProblemType: Package
Architecture: i386
Date: Sat Jul 12 00:27:43 2008
DistroRelease: Ubuntu 8.10
ErrorMessage:
 ErrorMessage: package fontconfig-config is already installed and configured
Package: fontconfig-config 2.5.0-2ubuntu3
PackageArchitecture: all
SourcePackage: fontconfig
Title: package fontconfig-config 2.5.0-2ubuntu3 failed to install/upgrade:
Uname: Linux 2.6.24-19-generic i686 fuori funzionamento.

Related branches

Revision history for this message
Olof Kindgren (flamingolof) wrote :
Revision history for this message
Alex Ruddick (alexrudd0) wrote :

I encountered a similar problem with trying to upgrade fontconfig-config (Hardy-proposed -> Intrepid alpha 1)

In the terminal I used to launch update-manager (with gksu) is the following:
alex@alex-laptop:~$ gksu "update-manager -d"
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdfilterlegacy
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdfilterlegacy
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdfilterlegacy
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdfilterlegacy

Several apport dialogs came up, for fontconfig as well as others such as update-manager. Each of them went through the data-collection and upload steps, but no Firefox window opened. Eventually update-manager crashed with a rather serious warning. Something along the lines of "The upgrade failed, and ends now. Your system may be broken. Run dpkg --configure -a."

I'm currently running dpkg --configure -a, which is apparently making some progress with installing further, but still having problems.

Revision history for this message
Alex Ruddick (alexrudd0) wrote :
Download full text (3.2 KiB)

So, "dpkg --configure -a" failed.

I opened up a shell and tried invoking dpkg manually on the .debs.

****
alex@alex-laptop:/var/cache/apt/archives$ sudo dpkg -i fontconfig*
(Reading database ... 211754 files and directories currently installed.)
Preparing to replace fontconfig 2.6.0-1ubuntu2 (using fontconfig_2.6.0-1ubuntu2_amd64.deb) ...
Unpacking replacement fontconfig ...
Preparing to replace fontconfig-config 2.5.0-2ubuntu3 (using fontconfig-config_2.6.0-1ubuntu2_all.deb) ...
Unpacking replacement fontconfig-config ...
dpkg: dependency problems prevent configuration of fontconfig:
 fontconfig depends on libfontconfig1 (>= 2.4.0); however:
  Package libfontconfig1 is not configured yet.
dpkg: error processing fontconfig (--install):
 dependency problems - leaving unconfigured
Setting up fontconfig-config (2.6.0-1ubuntu2) ...
Installing new version of config file /etc/fonts/conf.avail/25-unhint-nonlatin.conf ...
Installing new version of config file /etc/fonts/conf.avail/40-nonlatin.conf ...
Installing new version of config file /etc/fonts/conf.avail/45-latin.conf ...
Installing new version of config file /etc/fonts/conf.avail/53-monospace-lcd-filter.conf ...
Installing new version of config file /etc/fonts/conf.avail/60-latin.conf ...
Installing new version of config file /etc/fonts/conf.avail/65-fonts-persian.conf ...
Installing new version of config file /etc/fonts/conf.avail/65-nonlatin.conf ...
Installing new version of config file /etc/fonts/conf.avail/69-unifont.conf ...

Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Errors were encountered while processing:
 fontconfig
****

I then tried installing libfontconfig1 first, which I think did the trick. Currently my system is crunching through "dpkg --configure -a" again, but without the error messages.

****
alex@alex-laptop:/var/cache/apt/archives$ sudo dpkg -i libfontconfig1*
(Reading database ... 211753 files and directories currently installed.)
Preparing to replace libfontconfig1 2.6.0-1ubuntu2 (using libfontconfig1_2.6.0-1ubuntu2_amd64.deb) ...
Unpacking replacement libfontconfig1 ...
Preparing to replace libfontconfig1-dev 2.6.0-1ubuntu2 (using libfontconfig1-dev_2.6.0-1ubuntu2_amd64.deb) ...
Unpacking replacement libfontconfig1-dev ...
Setting up libfontconfig1 (2.6.0-1ubuntu2) ...

Setting up libfontconfig1-dev (2.6.0-1ubuntu2) ...

Processing triggers for doc-base ...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

alex@alex-laptop:/var/cache/apt/archives$ s...

Read more...

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Reassigning, that's because install-docs from doc-base fails:

Preparing to replace fontconfig-config 2.5.0-2ubuntu3 (using .../fontconfig-config_2.6.0-1ubuntu2_all.deb) ...
Can't locate Pod/Usage.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 18.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 136.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/fontconfig-config_2.6.0-1ubuntu2_all.deb (--unpack):
 there is no script in the new version of the package - giving up

Changed in doc-base:
status: New → Confirmed
bruno (armiento-bruno)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.8 KiB)

This bug was fixed in the package doc-base - 0.10.1

---------------
doc-base (0.10.1) unstable; urgency=low

  * DocBaseFile.pm, InstallDocs.pm:
    + while getting changed files, don't schedule not yet registered files
      for removal;
    + if some documents cannot be registered and verbose messages are turned
      off, inform the user how to get the more detailed reasons of the errors.

doc-base (0.10.0) unstable; urgency=low

  * Applied a bit modified patch from Martin Pitt @ Ubuntu to remove dependency
    on perl (closes: #602919):
    + Scrollkeeper.pm: provide our own local dirname() function and use it
      instead of File::Basename;
    + InstallDocs.pm: use the `rm -r' and 'mkdir -p' programs instead of
      File::Path;
    + debian/rules: run dh_perl with '-d' to avoid perl dependency.

  * Switch internal databases format from MLDBM to YAML and provide better
    error recovery from database corruption:
    + DB.pm: use YAML::Tiny module for storing our internal databases;
    + Util.pm: introduce Fatal() function and differentiate exit codes
      by type of error;
    + make the Fatal() function call
    + debian/control: switch dependency on libmdlbm-perl to libyaml-tiny-perl;
    + debian/postinst: try to recover for yaml files corruption by deleting
      them and re-spawning install-docs.

  * Translations handling:
    + patch from David Prévot not to assume word ordering in translated
      strings (closes: #606475);
    + patch from Chris Leick to fix plurals in the strings (closes: #521384);
    + English messages cleanups;
    + mark more doc-base messages as translatable;
    + Update Polish translation of binary.

  * doc-base.sgml:
    + prepend a top-level section name section names to make it more visible
      that sections' components are separated by slash (closes: #578331);
    + add the `Network/Remote Access' section (closes: #555161);
    + the Network section has two levels, not three (closes: #615488).

  * Don't create scrollkeeper files when rarian-compat is not installed
    (closes: #419745)
    + debian/triggers: interest on /usr/share/doc/rarian-compat to be
      notified of installs/removals of rarian-compat
  * DocBaseFile.pm: fix `no valid Format found' check.
  * Scrollkeeper.pm: avoid `unsuccessful stat on file contains new line'
    warnings given by perl (closes: #607498, #614330).

  * Ubuntu bugs handling:
    + install-docs.in: check if the Pod::Usage module is available before
      using it (LP: #431270, #510976);
    + this version gets rid of MLDBM and provides a better handling of
      databases corruption, to prevent `read error' bugs
      (LP: #695319, #675069, #672364, #668856, #652102, #621345);
    + debian/prerm: downgrade the `cannot find install-docs on path' error
      to a warning to make it possible to remove doc-base when install-docs
      is not available for some reason (LP: #391464);
    + the `/usr/share/doc-base/data/doc-base.map' file is provided in the
      package, it must have been deleted either manually or by filesystem
      error (LP: #660345, #646629);
    + close bugs that are duplicates of Debian bug#501874, fixed in 0.8.18
      (LP: #24771...

Read more...

Changed in doc-base (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.