Comment 2 for bug 13787

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-id: <email address hidden>
Date: Fri, 11 Mar 2005 00:12:26 +0200
From: Lior Kaplan <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Culmus: not installable after upgrading to fontconfig 2.3.1-1

Package: culmus
Version: 0.101-1
Severity: grave
Justification: renders package unusable

Hi Baruch,

I upgraded to fontconfig 2.3.1-1 and saw it overwrites the previous conf. I guessed that culmus add stuff to /etc/fonts/local.conf and decided to reinstall the package.

Fontconfig new version had a change: usage of /etc/fonts/conf.d instead of /etc/fonts/local.conf. Thus make culmus uninstallable send the installtions scrpits fail and leave the package in Failconfig status.

It seems that the sulution shold be very easy.

Some log from my machine:
laptop:~# apt-get --reinstall install culmus
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 1051kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://mirror.hamakor.org.il unstable/main culmus 0.101-1 [1051kB]
Fetched 1051kB in 3m45s (4659B/s)
Preconfiguring packages ...
grep: /etc/fonts/local.conf: No such file or directory
(Reading database ... 51579 files and directories currently installed.)
Preparing to replace culmus 0.101-1 (using .../culmus_0.101-1_all.deb) ...
Unpacking replacement culmus ...
grep: /etc/fonts/local.conf: No such file or directory
Setting up culmus (0.101-1) ...
grep: /etc/fonts/local.conf: No such file or directory
grep: /etc/fonts/local.conf: No such file or directory
grep: /etc/fonts/local.conf: No such file or directory
sed: can't read /etc/fonts/local.conf: No such file or directory
dpkg: error processing culmus (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 culmus
E: Sub-process /usr/bin/dpkg returned an error code (1)

laptop:~# dpkg -l fontconfig
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii fontconfig 2.3.1-1 generic font configuration library

laptop:~# dpkg -l culmus
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
iF culmus 0.101-1 Type1 Hebrew Fonts for X11

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages culmus depends on:
ii debconf [debconf-2.0 1.4.46 Debian configuration management sy
ii xutils 4.3.0.dfsg.1-12.0.1 X Window System utility programs

-- debconf information excluded