I have texlive (version 2023) on Linux Mint. When I try to install a package using tlmgr install sidecap it says I need to update tlmgr first. I used tlmgr update --self but that returns:
Unable to download the checksum of the remote TeX Live database,
but found a local copy, so using that.
You may want to try specifying an explicit or different CTAN mirror,
or maybe you need to specify proxy information if you're behind a firewall;
see the information and examples for the -repository option at
https://tug.org/texlive/doc/install-tl.html
(and in the output of install-tl --help).
tlmgr: package repository https://mirror.niser.ac.in/ctan/systems/texlive/tlnet (not verified: unknown)
[1/1, ??:??/??:??] update: texlive.infra [345k] (66512 -> 66822) ... TLPDB::_install_data: downloading did not succeed (download_file failed) for https://mirror.niser.ac.in/ctan/systems/texlive/tlnet/archive/texlive.infra.tar.xz
tlmgr: Installation of new version of texlive.infra failed, trying to unwind.
tlmgr: Restoring of old package did NOT succeed.
tlmgr: Error message from unpack: don't know how to unpack
tlmgr: Most likely repair: run tlmgr install texlive.infra and hope.
done
tlmgr: The file README has disappeared from the critical package texlive.infra but is still present in dehyph:texmf-dist/tex/generic/dehyph/README dvipdfmx:texmf-dist/fonts/cmap/dvipdfmx/README mfware:texmf-dist/mft/base/README texlive-scripts:texmf-dist/fonts/map/dvips/tetex/README
tlmgr: action update returned an error; continuing.
tlmgr: package log updated: /home/fes33/.TinyTeX/texmf-var/web2c/tlmgr.log
tlmgr: An error has occurred. See above messages. Exiting.
Reading some of the other queries I gathered that it's because the mirror niser.ac.in/ctan/systems/texlive/tlnet isn't working. I tried the solutions here but it didn't work:
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
TLPDB: not a directory, not loading: /root/texmf
tlmgr: user mode not initialized, please read the documentation!
What else can I do?
apt-installed. If you installed from the OS package manager that is how you should update TeX Live, OS-packaged TL distros generally aren't capable of allowing finer-grained management of the TL distribution throughtlmgr. They also separate the full TeX Live into a few different apt-packages (https://tex.stackexchange.com/a/504566/106162). – Dai Bowen Sep 09 '23 at 12:30tlmgr install texlive.infraas the first error message suggests? – Dai Bowen Sep 09 '23 at 13:39tinytexviaR? – Dai Bowen Sep 16 '23 at 20:19