I am trying to update my current version of TeX on Mac OS X 10.15.7. I don't think I've ever updated it before but I was told that to use my university LaTex thesis template, I should install "Tex Live 2021" or update the package using Tex Live Utility.
First, I went to https://www.tug.org/texlive/ where it says
... for MacOSX, see the MacTeX distribution.
So I went to this link and started downloading the MacTeX Download (which takes over 30 mins).
Then I read here that you can use something called the TeX Live Utility on Mac.
However, when I open this app it asked me if I want to do security checks on packages so I said 'yes' and then after a long wait I get this error:
I also tried updating it this way:
tlmgr update --all
and
tlmgr update --self
both produce this error:
/Library/TeX/texbin/tlmgr: open tlpdb(https://ctan.mirror.rafal.ca/systems/texlive/tlnet/tlpkg/texlive.tlpdb) failed: No such file or directory at /usr/local/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 362.
So I guess I have 2 questions:
- Which of the two methods is the right way to update TeX language on Mac OS X (launching the downloaded MacTex package or using Tex Live Utility)?
- If the latter, what is the problem with my TeX Live Utility above?
sudo ./tlmgr update --self
and it resolved the issue. Tex Live Utility was then able to update packages.