Discussion:
[tex-k] a question about tlmgr on Windows
Andrew Komornicki
2013-04-23 05:53:10 UTC
Permalink
Karl and friends,

I have a question and a problem relating to tlmgr.

As a long time user of TeX and friends I installed Texlive 2009 in 2010 on my
then new Win XP laptop. More recently I realized that tlmgr has ceased to
function. Quite simply, whenever I try to invoke it, Windows responds with
the message:
perl.exe has encountered a problem and needs to close.
We are sorry for the inconvenience.

The current tug.org/texlive/tlmgr pages indicate that there is a fix for
disaster recovery. Specifically it suggests to download update-tlmgr-latest.exe

I have done that. running that executable produces that same message, that
perl.exe has encountered a problem...........

is there a simpler fix, save for a clean install of TeXlive (??)
I really like my present installation, and have been very productive with this.
any suggestions are very much appreciated.

regards,
andrew
Norbert Preining
2013-04-23 07:54:01 UTC
Permalink
Hi Andrew,
Post by Andrew Komornicki
I have a question and a problem relating to tlmgr.
THis is not the right forum for tlmgr ...
Post by Andrew Komornicki
perl.exe has encountered a problem and needs to close.
We are sorry for the inconvenience.
That is something which is hard to debug, if perl does not work,
something in your Windows installation is broken. We cannot conjure
up solutions for elementary things like broken perls.

You can try to debug perl as installed in
...path..to..your..texlive..\tlpkg\tlperl
specifically bin tlperl\bin\perl.exe

But you might have some background tasks (virus scanner? intrusion detection)
whatever running that kills the perl process, which creates the problem.

ANother option, but needs a bit more experience, is:
* get the latest tlperl.win32.tar.xz, best from the tlpretest
* backup your current tlpkg\tlperl
* unpack it in ...\texlive\ (it contains the files in he hierarchy tlpkg\tlperl)

and hope that this gives you a better/working perl.

More than that, I guess, we cannot do.

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
Andrew Komornicki
2013-04-23 18:35:06 UTC
Permalink
Hi

thank you for the response. I tried the fix that involved the
update-tlmgr-latest.exe install as this is the suggested method for disaster
recovery on the www.tug.org/texlive/tlmgr.html pages
This is Perl that comes with TeXlive.

I can share with you that I unziped the current install-tl.zip archive
and replaced the ./tlpkg directory under my \texlive and tlmgr does work.
I no longer get Perl errors. It turns out that there are other problems,
but the Perl problem is solved.

regards,
andrew
Post by Norbert Preining
Hi Andrew,
Post by Andrew Komornicki
I have a question and a problem relating to tlmgr.
THis is not the right forum for tlmgr ...
Post by Andrew Komornicki
perl.exe has encountered a problem and needs to close.
We are sorry for the inconvenience.
That is something which is hard to debug, if perl does not work,
something in your Windows installation is broken. We cannot conjure
up solutions for elementary things like broken perls.
You can try to debug perl as installed in
...path..to..your..texlive..\tlpkg\tlperl
specifically bin tlperl\bin\perl.exe
But you might have some background tasks (virus scanner? intrusion detection)
whatever running that kills the perl process, which creates the problem.
* get the latest tlperl.win32.tar.xz, best from the tlpretest
* backup your current tlpkg\tlperl
* unpack it in ...\texlive\ (it contains the files in he hierarchy tlpkg\tlperl)
and hope that this gives you a better/working perl.
More than that, I guess, we cannot do.
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
Norbert Preining
2013-04-23 22:12:31 UTC
Permalink
Post by Andrew Komornicki
thank you for the response. I tried the fix that involved the
update-tlmgr-latest.exe install as this is the suggested method for disaster
recovery on the www.tug.org/texlive/tlmgr.html pages
This is Perl that comes with TeXlive.
That is surprising that this does not work, since it should also
replace the tlperl ...

Did you get the update-tlmgr-latest.exe from the tlpretest directory?
Post by Andrew Komornicki
I can share with you that I unziped the current install-tl.zip archive
and replaced the ./tlpkg directory under my \texlive and tlmgr does work.
Ocuh ... you replaced *ALL* of it ... that is not good, because there is
also the file
texlive.tlpdb
which is *specific* for your installation ...
Post by Andrew Komornicki
I no longer get Perl errors. It turns out that there are other problems,
but the Perl problem is solved.
Well, at what prize?

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
Loading...