Bug#428448: tex-common: user mode in update-fontlang: Does not create TEXMFVAR
Package: tex-common
Version: 1.7
Severity: normal
update-fontlang contains the following code:
# Does $TEXMFVAR expand to a single directory?
texmfvar=$(kpsewhich --expand-path '$TEXMFVAR')
if ! echo "$texmfvar" | grep -e ':'; then
output_file="$texmfvar/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME"
else
# We don't know what to do in this case, therefore: do nothing unless
# the output file is specified with the correponding option.
output_file=""
fi
However, if ~/.texmf-var (or whatever $TEXMVAR points to) does not yet
exist, the result of this command is empty. Consequently, update-*
tries to put its files into /web2c which fails (in user mode), and the
error message is confusing.
Regards, Frank
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages tex-common depends on:
ii debconf 1.5.11 Debian configuration management sy
ii ucf 2.0020 Update Configuration File: preserv
tex-common recommends no packages.
Versions of packages tetex-bin depends on:
ii texlive 2007-9 TeX Live: A decent selection of th
Versions of packages tetex-extra depends on:
ii tetex-bin 2007-9 TeX Live: teTeX transitional packa
ii texlive-bibtex-extra 2007-3 TeX Live: Extra BibTeX styles
ii texlive-font-utils 2007-11.np.etch.1 TeX Live: TeX font-related program
ii texlive-fonts-extra 2007-3 TeX Live: Extra fonts
ii texlive-lang-croatian 2007.dfsg.1-2 TeX Live: Croatian
ii texlive-lang-cyrillic 2007.dfsg.1-2 TeX Live: Cyrillic
ii texlive-lang-czechslov 2007.dfsg.1-2 TeX Live: Czech/Slovak
ii texlive-lang-danish 2007.dfsg.1-2 TeX Live: Danish
ii texlive-lang-dutch 2007.dfsg.1-2 TeX Live: Dutch
ii texlive-lang-finnish 2007.dfsg.1-2 TeX Live: Finnish
ii texlive-lang-french 2007.dfsg.1-2 TeX Live: French
ii texlive-lang-german 2007.dfsg.1-2 TeX Live: German
ii texlive-lang-greek 2007.dfsg.1-2 TeX Live: Greek typesetting
ii texlive-lang-hungarian 2007.dfsg.1-2 TeX Live: Hungarian
ii texlive-lang-italian 2007.dfsg.1-2 TeX Live: Italian
ii texlive-lang-latin 2007.dfsg.1-2 TeX Live: Latin
ii texlive-lang-mongolian 2007.dfsg.1-2 TeX Live: Mongolian
ii texlive-lang-norwegian 2007.dfsg.1-2 TeX Live: Norwegian
ii texlive-lang-other 2007.dfsg.1-2 TeX Live: Other hyphenation files
ii texlive-lang-polish 2007.dfsg.1-2 TeX Live: Polish
ii texlive-lang-portugues 2007.dfsg.1-2 TeX Live: Portuguese
ii texlive-lang-spanish 2007.dfsg.1-2 TeX Live: Spanish
ii texlive-lang-swedish 2007.dfsg.1-2 TeX Live: Swedish
ii texlive-lang-vietnames 2007.dfsg.1-2 TeX Live: Vietnamese
ii texlive-latex-extra 2007-3 TeX Live: LaTeX supplementary pack
ii texlive-math-extra 2007-3 TeX Live: Advanced math typesettin
ii texlive-pictures 2007-9 TeX Live: Packages for drawings gr
ii texlive-pstricks 2007-3 TeX Live: PSTricks packages
ii texlive-publishers 2007-3 TeX Live: Support for publishers
Versions of packages texlive-base depends on:
ii texlive-base-bin 2007-11.np.etch.1 TeX Live: Essential binaries
ii texlive-common 2007-9 TeX Live: Base component
ii texlive-doc-base 2007-3 TeX Live: Base documentation
-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: