SuSE GmbH

SuSE Support Database

Title: After an update TeX does not work anymore

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

After an update TeX does not work anymore

Applicable to
S.u.S.E. version: from 4.3 on
Kernel version: irrelevant

Symptom:

You have done a system update e.g. from S.u.S.E. Linux 4.3 to 4.4, and your previously running TeX does not run anymore. You get the error message, that e.g. latex could not be found, although teTeX is installed.

Cause:

The TeX packet's binaries were moved into another directory (by popular request). The path to find this programme is set in /etc/profile:
#
# make sure that teTeX is found.
#
if [ -f /usr/lib/teTeX/texmf.cnf ] ; then
    TETEXDIR=/usr/lib/teTeX
    PATH=$PATH:/usr/bin/TeX
    export TETEXDIR PATH
fi
Since S.u.S.E. Linux uses another way during the update, the old file /etc/profile is not overwritten, and therefore the value of the variable PATH still points to the old teTeX directory after an update.

The new file /etc/profile is saved during the update. The user gets from YaST a clear hint about renaming this file when desired. The value of the variable PATH in /etc/profile.new points to the correct directory.

Solution:

Rename the file /etc/profile.new to /etc/profile:
mv /etc/profile.new /etc/profile
Should you make any changes in /etc/profile BEFORE the update, you should save the old /etc/profile, consequently you can work in the changes in the new /etc/profile.

You can simply adjust the extract given above in the file /etc/profile. What you see above is the correct version.

----------

Keywords: TEX, UPDATE, PATH, 4.4, 4.3

----------

Feedback welcome: Send Mail to martin.scherbaum@suse.de (Please give the following subject: SDB-maddin_tex)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-maddin_tex, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 17:05:58 by maddin with sdb_gen 1.00.0