[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#265247: tetex-bin: package fails to install



On 12.08.04 Peter Dey (pdey@realmtech.net) wrote:

Hi Peter,

Sorry for late response: we were fixing other grave bugs.

> Added line to /var/lib/dpkg/info/tetex-bin.postinst:
> set -x
> 
> [nemesis@saturn] ~$ sudo dpkg --configure tetex-bin 
> Setting up tetex-bin (2.0.2-17) ...
> 
> << snip >>
> 
> Regenerating /etc/texmf/texmf.cnf ... done
> + db_get tetex-bin/fmtutil
> + echo 'GET tetex-bin/fmtutil'
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> + RET=true
> + return 0
> + '[' Xtrue = Xtrue ']'
> + dpkg --compare-versions '' lt 1.0.7+20011202-5.1
> + '[' -f /etc/texmf/fmtutil.cnf ']'
> + '[' -f /etc/texmf/fmtutil.cnf ']'
> + '[' -L /var/lib/texmf/web2c/fmtutil.cnf ']'
> + '[' -x /usr/sbin/update-fmtutil ']'
> + /usr/sbin/update-fmtutil -v
> Regenerating /var/lib/texmf/web2c/fmtutil.cnf ... done
> + db_get tetex-bin/upd_map
> + echo 'GET tetex-bin/upd_map'
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> + RET=true
> + return 0
> + '[' Xtrue = Xtrue ']'
> + dpkg --compare-versions '' lt 1.0.7+20021025-7
> + '[' -f /etc/texmf/updmap.cfg ']'
> + '[' -f /etc/texmf/updmap.cfg ']'
> + '[' -L /var/lib/texmf/web2c/updmap.cfg ']'
> + '[' -x /usr/sbin/update-updmap ']'
> + /usr/sbin/update-updmap -v
> Regenerating /var/lib/texmf/web2c/updmap.cfg ... done
> + VARFONTSFILE=/etc/texmf/varfontdirs.debian
> + '[' '!' -e /etc/texmf/varfontdirs.debian ']'
> ++ kpsewhich '--expand-var=$VARTEXFONTS'
> + vardir=/var/cache/fonts
> + dpkg --compare-versions '' lt 1.0.7+20011202-8
> + '[' /var/cache/fonts = /var/cache/fonts ']'
> + '[' -d /var/spool/texmf ']'
> + '[' -n /var/cache/fonts ']'
> + grep -q '^/var/cache/fonts$' /etc/texmf/varfontdirs.debian
> + '[' -f /usr/share/texmf/tex/generic/config/language.dat ']'
> + '[' -n '' ']'
> + unset CUR_LDAT
> dpkg: error processing tetex-bin (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  tetex-bin
> [nemesis@saturn] ~$
> 
What puzzles me here is, that CUR_LDAT is not set at all. An "unset
CUR_LDAT" will give me an exit status of non zero if CUR_LDAT is not
defined at all. This is only the case if the file
/usr/share/texmf/tex/generic/config/language.dat does not exist at
all. This file is a soft link, which should point to
/etc/texmf/language.dat and is contained in the tetex-bin package.
  As you see on your debug output from above the file does not exist.
Could you please try to find out why not? Did you build the packages
yourself? Is there a full HD or something similar?

> * tetex-bin/hyphen: 
<snip>
> * tetex-bin/use_debconf: true
> 
You decided to manage your language.dat using debconf, but didn't
select any language patterns. I don't think it has something to do
with the breakage above, but it doesn't make sense.

Lukas: You're in Cc. Are you sure your setup fails for the same
reason? Could you please check the debug output as done by the
original submitter?

Regards,
  Hilnar 
-- 
sigmentation fault



Reply to: