/usr/sbin/update-language-def: line 779: printf: missing unicode digit for \u
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tex-common (Debian) |
Fix Released
|
Unknown
|
|||
tex-common (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tex-common
Running anything that involves update-language-def reports a programming error due to a missing escape for a backslash (\) character. The line in question prints a TeX command, \uselanguage {USenglish}, where the backslash needs to be escaped (1) for the shell and (2) for the printf, so we need a quadruple backslash. It should read
#
# for language.def we have to select the right language at the end
if [ "$HYPHENMODE" = "etex" ] ; then
printf "
${PCC}${PCC}${PCC} No changes may be made beyond this point.
\\\\uselanguage {USenglish} ${PCC}${PCC}${PCC} This MUST be the last li
ne of the file.
" >> "$tempfile"
fi
instead of what we have now. Currently, we get these errors when update-language-def gets run as part of some tex package configuration:
/usr/sbin/
It is not clear to me if all affected tex packages need updating.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: tex-common 2.09
ProcVersionSign
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon May 2 14:46:26 2011
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: tex-common
UpgradeStatus: Upgraded to natty on 2011-05-02 (0 days ago)
description: | updated |
Changed in tex-common (Debian): | |
status: | Unknown → Fix Released |
I am seeing the error.
What consequence does it have?