** Description changed: + [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. + + [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 + 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)
** Description changed: [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. + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/1039828/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
