I have TL2018 on windows 10. When trying to update packages with tlmgr, it said that tlmgr itself needs to be updated.
However, the command tlmgr update --self failed for me with the following error message
λ tlmgr update --all --self
tlmgr.pl: package repository http://anorien.csc.warwick.ac.uk/mirrors/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr.pl: Preparing TeX Live infrastructure update...
DO NOT CLOSE THIS WINDOW!
TeX Live infrastructure update in progress ...
Detailed command logging to "\\icnas1.cc.ic.ac.uk\kg314\texlive\2018\temp\update-self.log"
Could not change working directory to "\\icnas1.cc.ic.ac.uk\kg314\texlive\2018\temp\.."
Aborting infrastructure update, no changes have been made.
How to fix this issue? I am unable to install any packages too in this current state.
Update
I tried to do a fresh installation of texlive on the machine. However, after reaching the tar package, the installation crashes abruptly with the following entry appearing last in the log.
TLUtils::untar: H:\install-tl-20190207\tlpkg\installer\tar.exe xmf C:\Users\kg314\AppData\Local\Temp\goATAeqfOX\xskZVdlZXH/kpathsea.win32.tar failed (in H:/texlive/2018)
TLPDB::_install_package: untar failed
Installation failed.
Rerunning the installer will try to restart the installation.
Or you can restart by running the installer with:
install-tl-windows.bat --profile installation.profile [EXTRA-ARGS]
or
install-tl-advanced.bat --profile installation.profile [EXTRA-ARGS]
Now, I am in an inconsistent state. Any further tlmgr update --all simply results in an error
tlmgr.pl: Fundamental package texlive.infra not present, uh oh, goodbyeShould not happen, texlive.infra not found at \\icnas1.cc.ic.ac.uk\kg314\texlive\2018\texmf-dist\scripts\texlive\tlmgr.pl line 7344
untarfailed, and that too just for a minimal install – Dr Krishnakumar Gopalakrishnan Feb 07 '19 at 21:10untarerrors. – Dr Krishnakumar Gopalakrishnan Feb 07 '19 at 21:20http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exeand run it to update tlmgr (texlive should be in the path, the application uses kpsewhich to find out where to put the files). – Ulrike Fischer Feb 07 '19 at 21:21tlmgr update --allfor package updates. – Dr Krishnakumar Gopalakrishnan Feb 07 '19 at 21:23tlmgr.pl: Fundamental package tlperl.win32 not present, uh oh, goodbyeShould not happen, tlperl.win32 not found at ...– Dr Krishnakumar Gopalakrishnan Feb 07 '19 at 21:31