Wolfgang Engelmann schrieb:
>
>
> Am 19.06.23 um 15:29 schrieb Herbert Voss:
>>
>>
>> Am 19.06.23 um 15:11 schrieb Wolfgang Engelmann:
>>>> do you have a file texlive.sh in /etc/profile.d/. ?
>>>> If yes, what's its contents.
>>>
>>> export PATH=/usr/local/texlive/2022/bin/x86_64-linux:$PATH
>>> export MANPATH=/usr/local/texlive/2022/texmf/doc/man:$MANPATH
>>> export INFOPATH=/usr/local/texlive/2022/texmf/doc/info:$INFOPATH
>>> unset TEXINPUTS
>>> unset TEXMFCONFIG
>>
>> as root change it to 2023
>>
>>
>>>
>>>>
>>>> If no, what is the output of
>>>>
>>>> which -a tex
>>>
>>> /usr/local/texlive/2022/bin/x86_64-linux/tex
>>> /usr/local/texlive/2022/bin/x86_64-linux/tex
>>> /usr/bin/tex
>>
>> it looks like an old instance from Debian's own texlive. Delete all
>> files
>> depending to tex in /usr/bin/, e.g. tex, latex, luatex, ...
>
> There A LOT of files in /usr/bin ..
> I have sudo rm the tex latex lua
> but what else should I remove?

With a correct path setting it shouldn‘t matter. Leave it as it is.


> So far after a restart
> which -a tex
> still gives 2022 >
> /usr/local/texlive/2022/bin/x86_64-linux/tex
>  >> /usr/local/texlive/2022/bin/x86_64-linux/tex

Search for 2022 in your .bashes, .profile, …
There must be entries with 2022. and of course,
control /etc/profile.d again

Herbert

>> After a restart try
>>
>> which -a latex
>>
>> Is it now 2023?
>>
>> Herbert
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>




-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to