updmap vs updmap-sys (was: xpdf und kpdf zeigt meine Schriften nicht an)
- To: debian-tetex-maint@lists.debian.org
- Subject: updmap vs updmap-sys (was: xpdf und kpdf zeigt meine Schriften nicht an)
- From: Ralf Stubner <ralf.stubner@physik.uni-erlangen.de>
- Date: Mon, 17 Oct 2005 14:59:09 +0200
- Message-id: <[🔎] 87r7akguzm.fsf_-_@ID-223132.user.uni-berlin.de>
- In-reply-to: <sldc23-fqj.ln1@alhambra.kuesterei.ch> ( Frank Küster's message of "Mon, 17 Oct 2005 13:14:36 +0200")
- References: <diof0a$1fc8$1@trane.wu-wien.ac.at> <lzd5m8kuk4.fsf@tfkp12.physik.uni-erlangen.de> <diojmi$1gkt$1@trane.wu-wien.ac.at> <lz8xwwkrr1.fsf@tfkp12.physik.uni-erlangen.de> <dion46$1hf7$1@trane.wu-wien.ac.at> <87wtkg3tjp.fsf@ID-223132.user.uni-berlin.de> <divr8f$2sos$1@trane.wu-wien.ac.at> <87fyr030ff.fsf@ID-223132.user.uni-berlin.de> <dj00h0$2u6o$1@trane.wu-wien.ac.at> <sldc23-fqj.ln1@alhambra.kuesterei.ch>
Frank Küster <frank@kuesterei.ch> writes on d.c.t.t:
[...]
> Als root solltest du *updmap-sys* aufrufen!
Translation: When you are root you ought to run *updmap-sys*!
Currently updmap and fmtutil have a uid check. If I understood it
correctly, this uid check is supposed to be removed when all packages
have updated their maintainer scripts. The problem is how to educate the
users during this time. I haven't tested it with fmtutil, but updmap
creates lots of output. So this message in the beginning is simply lost.
Would it be possible to repeat this message near/at the end? Or make it
a 'stop point' requiring interaction from the user (probably not good
for other packages)?
BTW, in updmap from tetex-bin 3.0-7.0.sarge1 it says:
if [ ! "$progname" = "updmap-sys" ]; then
^^^^^^^^^^
echo
echo "Warning: fmtutil is being run as root; fmtutil-sys should probably be"
^^^^^^^ ^^^^^^^^^^^
echo "used instead. If this is done by a Debian package upon installation,"
echo "upgrade, or removal, please file a bug against that package."
echo
exec updmap-sys ${1+"$@"}
^^^^^^^^^^
which is a bit confusing. I am not sure if this is still the case, as I
haven't found where this is actualy added.
cheerio
ralf
Reply to: