Bug#271603: missing Depends
Hilmar Preusse <hille42@web.de> schrieb:
> On 15.09.04 Frank K?ster (frank@debian.org) wrote:
>
> Hi,
>
>> #I might be too late with this...
>> severity 271603 minor
>> stop
>>
> Sure about that?
Yes.
> A fresh installation of tetex-base will fail.
I will never upload a package without having it installed freshly, at
least in a sid pbuilder environment; in the next uploads I plan to use a
sarge environment additionally.
$ dpkg -l tetex-base
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 tetex-base 2.0.2b-5 Basic library files of teTeX
$ grep kpsewhich /var/lib/dpkg/info/tetex-base.postinst
KPSEWHICH_LDAT=`kpsewhich --progname=tex language.dat` || true
if ! kpsewhich ukhyphen.tex >/dev/null; then
kpsewhich --format='web2c files' fmtutil.cnf >/dev/null && \
kpsewhich --expand-var='$TEXMF' | grep -q "/usr/share/texmf" 2> /dev/null
# if [ -x ${UPDMAP} -a -x /usr/bin/updmap -a -f ${BASEMAP} -a -x /usr/bin/kpsewhich ]; then
The first line gives an error message (and leaves CUR_LDAT unset
eventually) in 2.0.2b-5, but because of the "|| true" it will not
fail. This is fixed in CVS.
The second line is executed only if there is a $CUR_LDAT yet. On a
clean, fresh install it is created by tetex-bin. But this might
be a problem, if the file is there without tetex-bin being installed on
a not-so clean install.
The third and forth line are inside a construct that tests for fmtutil
and texlinks.
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: