Bug#343104: strange error message on installing tetex-bin
merge 335225 343104 stop On 13.12.05 Norbert Preining ([EMAIL PROTECTED]) wrote: Hi, Dear jadetex maintainers: Your postinst script is very close to work with tetex2 and tetex3, but there was small miss: YOu define the variable fmtutil=fmtutil and if fmtutil-sys is present, then you redefine it to fmtutil=fmtutil-sys But later on you call fmtutil instead of $fmtutil Known bug. Merging. H. -- Novinson's Revolutionary Discovery: When comes the revolution, things will be different -- not better, just different. http://www.hilmar-preusse.de.vu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343104: strange error message on installing tetex-bin
Package: tetex-bin Version: 3.0-11 Severity: normal Hi, I just reinstalled tetex-bin to circumvent bug #335550 on my system. O.k. to make it short I purged tetex-bin. Afterwards I installed tetex-bin again. In tetex-bin postinst the following message is displayed: Warning: fmtutil is being run as root; fmtutil-sys should probably be used instead. If this is done by a Debian package upon installation, upgrade, or removal, please file a bug against that package. /usr/share/texmf/tex/jadetex/config/jadetex.ini Warning: fmtutil is being run as root; fmtutil-sys should probably be used instead. If this is done by a Debian package upon installation, upgrade, or removal, please file a bug against that package. So I just did as the text suggested. Don't slap me if this is not what you wanted. Best regards, Marko -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages tetex-bin depends on: ii debconf [debconf-2.0]1.4.62 Debian configuration management sy ii debianutils 2.15.2 Miscellaneous utilities specific t ii dpkg 1.13.11 package maintenance system for Deb ii ed 0.2-20 The classic unix line editor ii libc62.3.5-8.1 GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-5 GCC support library ii libice6 6.8.2.dfsg.1-11 Inter-Client Exchange library ii libkpathsea4 3.0-11 path search library for teTeX (run ii libpaper11.1.14-3Library for handling paper charact ii libpng12-0 1.2.8rel-5 PNG library - runtime ii libsm6 6.8.2.dfsg.1-11 X Window System Session Management ii libstdc++6 4.0.2-5 The GNU Standard C++ Library v3 ii libt1-5 5.1.0-2 Type 1 font rasterizer library - r ii libx11-6 6.8.2.dfsg.1-11 X Window System protocol client li ii libxaw8 6.8.2.dfsg.1-11 X Athena widget set library ii libxext6 6.8.2.dfsg.1-11 X Window System miscellaneous exte ii libxmu6 6.8.2.dfsg.1-11 X Window System miscellaneous util ii libxp6 6.8.2.dfsg.1-11 X Window System printing extension ii libxpm4 6.8.2.dfsg.1-11 X pixmap library ii libxt6 6.8.2.dfsg.1-11 X Toolkit Intrinsics ii mime-support 3.35-1 MIME files 'mime.types' 'mailcap ii perl 5.8.7-9 Larry Wall's Practical Extraction ii sed 4.1.4-5 The GNU sed stream editor ii tetex-base 3.0-11 Basic library files of teTeX ii ucf 2.004 Update Configuration File: preserv ii zlib1g 1:1.2.3-8 compression library - runtime Versions of packages tetex-bin recommends: ii dialog1.0-20051107-1 Displays user-friendly dialog boxe ii libxml-parser-perl2.34-4 Perl module for parsing XML files pn perl-tk none (no description available) ii psutils 1.17-21A collection of PostScript documen ii whiptail 0.51.6-31 Displays user-friendly dialog boxe -- debconf information: tetex-bin/cnf_name: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#343104: strange error message on installing tetex-bin
reassign 343104 jadetex tags 343104 patch thank On Mon, 12 Dez 2005, Marko Kaiser wrote: Warning: fmtutil is being run as root; fmtutil-sys should probably be used instead. If this is done by a Debian package upon installation, upgrade, or removal, please file a bug against that package. This is not a but in tetex, but in jadetex. Dear jadetex maintainers: Your postinst script is very close to work with tetex2 and tetex3, but there was small miss: YOu define the variable fmtutil=fmtutil and if fmtutil-sys is present, then you redefine it to fmtutil=fmtutil-sys But later on you call fmtutil instead of $fmtutil Attached patch fixes your postinst script: Best wishes Norbert --- Dr. Norbert Preining preining AT logic DOT at Università di Siena gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 --- Arthur's consciousness approached his body as from a great distance, and reluctantly. It had had some bad times in there. Slowly, nervously, it entered and settled down into its accustomed position. Arthur sat up. `Where am I?' he said. `Lord's Cricket Ground,' said Ford. `Fine,' said Arthur, and his consciousness stepped out again for a quick breather. His body flopped back on the grass. --- Arthur coping with his return to Earth as best as he --- could. --- Douglas Adams, The Hitchhikers Guide to the Galaxy --- postinst2005-12-13 08:39:32.0 +0100 +++ jadetex.postinst.fixed 2005-12-12 22:11:45.0 +0100 @@ -58,10 +58,13 @@ checkfmt ( ) { format=$1 baseformat=`basename $1 .fmt` +fmtutil=fmtutil +if [ -x /usr/bin/fmtutil-sys ]; then fmtutil=fmtutil-sys; fi + if ! ( kpsewhich $baseformat.fmt || kpsewhich $baseformat.efmt ) /dev/null ; then warn WARNING: memory dump $format not found, attempting to reconstruct ... - echo running 'fmtutil --byfmt $baseformat' $MYTMPFILE - fmtutil --byfmt $baseformat $MYTMPFILE + echo running '$fmtutil --byfmt $baseformat' $MYTMPFILE + $fmtutil --byfmt $baseformat $MYTMPFILE if kpsewhich $format /dev/null ; then warnok, reconstructed else @@ -90,9 +93,9 @@ warn or else purge then reinstall this package to restore default configuration. return 0 else -log running 'fmtutil --byfmt $fmt'... -if ! fmtutil --byfmt $fmt $MYTMPFILE; then -warn ERROR: $fmt fmtutil failed +log running '$fmtutil --byfmt $fmt'... +if ! $fmtutil --byfmt $fmt $MYTMPFILE; then +warn ERROR: $fmt $fmtutil failed return 1 else log successfully created $fmt memory dump