[Bug 1039828] Re: package fontconfig-config 2.8.0-3ubuntu9 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Stéphane Graber stgraber at stgraber.org
Wed Aug 22 04:27:05 UTC 2012


The extra file in mythbuntu's case is called id-cache and isn't owned by
any package, it's likely created by some maintainer script when calling
defoma. The file itself doesn't seem to belong in that directory at all.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/1039828

Title:
  package fontconfig-config 2.8.0-3ubuntu9 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1

Status in “fontconfig” package in Ubuntu:
  Fix Released
Status in “fontconfig” source package in Precise:
  Triaged
Status in “fontconfig” source package in Quantal:
  Fix Released

Bug description:
  [rationale]
  Updating fontconfig-config on a system with files inside of /var/lib/defoma/fontconfig.d/ will make the postinst fail.
  It's apparently the case on Kubuntu and Mythbuntu systems at least when doing LTS-to-LTS upgrades.

  [test case]
  1) touch /var/lib/defoma/fontconfig.d/test
  2) Update the package
  3) Check the update result

  If it works, then we're good.

  [regression potential]
  Not much expected here, the directory won't be removed if it contains something, so it might lead to a case where something checks for the directory existence and goes through the wrong path. That being said, we're not aware of any such check and even so, it'd likely be far better than having the system fail to upgrade.

  Setting up fontconfig-config (2.8.0-3ubuntu9) ...^M
  Installing new version of config file /etc/fonts/conf.avail/40-nonlatin.conf ...^M
  Installing new version of config file /etc/fonts/conf.avail/65-nonlatin.conf ...^M
  Can't locate File/Copy.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 7.^M
  BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7.^M
  rmdir: failed to remove `/var/lib/defoma/fontconfig.d/': Directory not empty^M
  dpkg: error processing fontconfig-config (--configure):^M
   subprocess installed post-installation script returned error exit status 1^M

  Probably a dupe of bug 990555.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: fontconfig-config 2.8.0-3ubuntu9
  ProcVersionSignature: Ubuntu 2.6.32-42.95-server 2.6.32.59+drm33.24
  Uname: Linux 2.6.32-42-server x86_64
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  Date: Wed Aug 22 00:11:15 2012
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  PackageArchitecture: all
  SourcePackage: fontconfig
  Title: package fontconfig-config 2.8.0-3ubuntu9 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to precise on 2012-08-22 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1039828/+subscriptions




More information about the foundations-bugs mailing list