提问于:
浏览数:
2183
## 编译环境
操作系统
* [ ] Windows 7/8/10
* [x] macOS
* [ ] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [x] TexLive `年份`
* [ ] MikTeX `版本号`
* [ ] CTeX
`若需勾选,请把[ ]改成[x]`
## 我的问题
在更新MacTex时,使用命令`sudo tlmgr update --self --all`发生错误,错误信息如下:
```zsh
kangjiayin@kangjiayindeMacBook-Pro ~ % sudo tlmgr update --self --all
/Library/TeX/texbin/tlmgr: only MacOSX is supported, not darwin 11.1 (from sw_vers -productVersion: 11.1)
query_ctan_mirror: Programs not set up, trying wget
cannot contact mirror.ctan.org, returning a backbone server!
tlmgr: package repository http://www.ctan.org/tex-archive/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr: saving backups to /usr/local/texlive/2020/tlpkg/backups
TLPDB::_install_package: unsupported container format xz
tlmgr: Installation of new version of texlive.infra failed, trying to unwind.
[1/2, ??:??/??:??] update: texlive.infra [423k] (54630 -> 57424) ... tlmgr: Restoring old package state succeeded.
done
TLPDB::_install_package: unsupported container format xz
tlmgr: Installation of new version of texlive.infra.x86_64-darwin failed, trying to unwind.
[2/2, 00:01/00:01] update: texlive.infra.x86_64-darwin [358k] (53254 -> 57336) ... tlmgr: Restoring old package state succeeded.
done
tlmgr: action update returned an error; continuing.
tlmgr: package log updated: /usr/local/texlive/2020/texmf-var/web2c/tlmgr.log
tlmgr: An error has occurred. See above messages. Exiting.
```
或者说预计什么时候才能支持呢,最近只能用overleaf了。