Package: fontconfig
Version: 2.2.3-4

dpkg result:
funk:/home/ron# dpkg -i /var/cache/apt/archives/fontconfig_2.2.3-4_i386.deb
(Reading database ... 86815 files and directories currently installed.)
Preparing to replace fontconfig 2.2.3-4 (using .../fontconfig_2.2.3-4_i386.deb) 
...
Cleaning up font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Unpacking replacement fontconfig ...
Setting up fontconfig (2.2.3-4) ...
dpkg: error processing fontconfig (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 fontconfig

I have seen this behavior on a few versions of fontconfig so I assume its a 
problem in my setup. I have no idea how to trace it though. There have been 
other reports but none with resolution.
trying to run the script by itself results:

funk:/home/ron#  sh -x /var/lib/dpkg/info/fontconfig.postinst
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/fontconfig.postinst
funk:/home/ron#

and no errors!

Ithen tried the following :
funk:/home/ron# debconf --frontend=readline sh -x  
/var/lib/dpkg/info/fontconfig.postinst
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ LOCALCONF=/var/lib/fontconfig/local.conf
+ rm -f /var/lib/fontconfig/local.conf
+ cat
+ cat
+ db_get fontconfig/enable_bitmaps
+ _db_cmd 'GET fontconfig/enable_bitmaps'
+ echo 'GET fontconfig/enable_bitmaps'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=false
+ return 0
+ enable_bitmapped_fonts=false
+ '[' false '!=' true ']'
+ cat
+ cat
+ '[' false '!=' true ']'
+ cat
+ db_get fontconfig/rendering_type
+ _db_cmd 'GET fontconfig/rendering_type'
+ echo 'GET fontconfig/rendering_type'
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=Bytecode interpreter (CRT screens)
+ return 0
++ echo 'Bytecode interpreter (CRT screens)'
++ cut '-d ' -f1
+ rendering_type=Bytecode
+ '[' Bytecode '!=' Subpixel ']'
+ cat
+ cat
+ '[' Bytecode '!=' Subpixel ']'
+ cat
+ '[' Bytecode '!=' Autohinter ']'
+ cat
+ cat
+ '[' Bytecode '!=' Autohinter ']'
+ cat
+ cat
+ rm -f /var/lib/fontconfig/local.conf.md5sum
+ ln -sf /usr/share/fontconfig/local.conf.md5sum 
/var/lib/fontconfig/local.conf.md5sum
+ ucf --debconf-ok /var/lib/fontconfig/local.conf /etc/fonts/local.conf
funk:/home/ron#

hope this is any use.
let me know if I can do anything else.

Ron Hartston


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to