如何在冻结期间安装新软件包

如何在冻结期间安装新软件包

显然,TeX Live 2017 现在处于冻结期,以迎接 Tex Live 2018,因为我尝试运行sudo tlmgr install tikz(重新安装 TeX Live),然后遇到了这个错误:

TeX Live 2017 is frozen forever and will no
longer be updated.  This happens in preparation for a new release.

If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository http://ctan.mirrors.hoobly.com/systems/texlive/tlnet (verified)
tlmgr: saving backups to /usr/local/texlive/2017/tlpkg/backups
tlmgr: no updates available

鉴于我没有时间等到 TeX Live 2018 发布后再安装tikz,有没有办法绕过冻结,或者我必须手动从 CTAN 安装软件包?

答案1

  1. 您声称已经发出sudo tlmgr install tikz,但如果我在我的机器上执行此操作,我会得到

    > sudo tlmgr install tikz
    TeX Live 2017 is frozen forever and will no
    longer be updated.  This happens in preparation for a new release.
    
    If you're interested in helping to pretest the new release (when
    pretests are available), please read http://tug.org/texlive/pretest.html.
    Otherwise, just wait, and the new release will be ready in due time.
    tlmgr: package repository http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet (verified)
    tlmgr install: package tikz not present in repository.
    tlmgr: action install returned an error; continuing.
    tlmgr: An error has occurred. See above messages. Exiting.
    
  2. 如果我尝试安装已安装的软件包,我会得到

    > sudo tlmgr install regexpatch
    TeX Live 2017 is frozen forever and will no
    longer be updated.  This happens in preparation for a new release.
    
    If you're interested in helping to pretest the new release (when
    pretests are available), please read http://tug.org/texlive/pretest.html.
    Otherwise, just wait, and the new release will be ready in due time.
    tlmgr: package repository http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet (verified)
    tlmgr install: package already present: regexpatch
    
  3. 我只有在尝试更新

    > sudo tlmgr update --all
    TeX Live 2017 is frozen forever and will no
    longer be updated.  This happens in preparation for a new release.
    
    If you're interested in helping to pretest the new release (when
    pretests are available), please read http://tug.org/texlive/pretest.html.
    Otherwise, just wait, and the new release will be ready in due time.
    tlmgr: package repository http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet (verified)
    tlmgr: saving backups to /usr/local/texlive/2017/tlpkg/backups
    tlmgr: no updates available
    

现在,如果你的机器上没有 TikZ/PGF,正确的安装方法应该是

sudo tlmgr install pgf

相关内容