[tex-live] tlmgr runtime error when giving an empty argument

Mart mart at martlubbers.net
Wed May 16 09:10:19 CEST 2018


When I run the following command in bash:

    $ tlmgr install ''

tlmgr throws runtime errors:

    tlmgr: package repository http://ctan.triasinformatica.nl/systems/texlive/tlnet (verified)
    Use of uninitialized value $pp in hash element at /opt/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 943.
    Use of uninitialized value $pp in hash element at /opt/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 943.
    Use of uninitialized value $pp in hash element at /opt/texlive/2018/bin/x86_64-linux/tlmgr line 3642.
    tlmgr install: package  not present in repository.
    tlmgr: action install returned an error; continuing.
    tlmgr: An error has occurred. See above messages. Exiting.

This can be solved with the attached patch to
/trunk/Master/tlpkg/TeXLive/TLPDB.pm. It checks whether a command line argument
is empty and if this is the case it will skip it.

This is probably not the place to send patches but I was unsure where they
should go.

Best,
Mart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p0.patch
Type: text/x-diff
Size: 226 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20180516/ff81dbb7/attachment.bin>


More information about the tex-live mailing list