[tex-live] TeXLive unter Ubuntu 12.04: path problem

gilberto dos santos alves gsavix at gmail.com
Mon Nov 26 20:46:12 CET 2012


there are too a debian / ubuntu package gksu that have sudo for gui. you
could use gksu [complete_path_program] and other options.

2012/11/26 Norbert Preining <preining at logic.at>

> On Mo, 26 Nov 2012, Bernhard Kleine wrote:
> > The only way to run tlmgr is changing to the bin dir and execute
> > "sudo ./tlmgr gui".
>
> Becasue the PATH that is used within sudo is not the same as the one
> you set. It is predefined.
>
> You have to run
>         sudo `which tlmgr` gui
> I guess that should work.
>
> > What is going wrong here?
>
> I guess from my Debian system that in your
>         /etc/sudoers
> file there is also a fixed specified PATH
>         Defaults
>  secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
>
> Best wishes
>
> Norbert
> ------------------------------------------------------------------------
> Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
> JAIST, Japan                                 TeX Live & Debian Developer
> DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
> ------------------------------------------------------------------------
> HASELBURY PLUCKNETT (n.)
> A mechanical device for cleaning combs invented during the industrial
> revolution at the same time as Arkwright's Spinning Jenny, but which
> didn't catch on in the same way.
>                         --- Douglas Adams, The Meaning of Liff
>



-- 
gilberto dos santos alves
+55.11.98646-5049
são paulo - sp - brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20121126/12a8cc4c/attachment.html>


More information about the tex-live mailing list