无法通过 tlmgr 连接

无法通过 tlmgr 连接

最近,当我想要使用时tlmgr,出现以下连接错误。

C:\Windows\system32>tlmgr install tablefootnotes
No connection to the internet.
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;
see the information and examples for the -repository option at
https://tug.org/texlive/doc/install-tl.html
(or in the output of install-tl --help).

TeX Live 2018 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 https://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr.pl: package repository http://ctan.asis.io/systems/texlive/tlnet (not verified: unknown)
tlmgr.pl install: package tablefootnotes not present in repository.
tlmgr.pl: action install returned an error; continuing.
tlmgr.pl: An error has occurred. See above messages. Exiting.

但是网络正常

C:\Windows\system32>ping google.com

Pinging google.com [216.58.207.78] with 32 bytes of data:
Reply from 216.58.207.78: bytes=32 time=135ms TTL=47
Reply from 216.58.207.78: bytes=32 time=132ms TTL=47

Ping statistics for 216.58.207.78:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 132ms, Maximum = 135ms, Average = 133ms
Control-C
^C
C:\Windows\system32>ping ctan.org

Pinging ctan.org [176.28.54.184] with 32 bytes of data:
Reply from 176.28.54.184: bytes=32 time=97ms TTL=46
Reply from 176.28.54.184: bytes=32 time=102ms TTL=46

Ping statistics for 176.28.54.184:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 97ms, Maximum = 102ms, Average = 99ms
Control-C
^C

对此您有什么想法吗?

更新1:

我使用了描述的方法这里更改默认存储库。但是,我仍然无法安装我想要的软件包。虽然它说 2018 已冻结,但 ctan 网站上的最新版本也是 2018。所以,我不知道这有什么问题。

C:\Windows\system32>tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet
tlmgr.pl: setting default package repository to http://mirror.ctan.org/systems/texlive/tlnet

C:\Windows\system32>tlmgr install tablefootnotes
TeX Live 2018 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 https://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr.pl: package repository http://ctan.um.ac.ir/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr.pl install: package tablefootnotes not present in repository.
tlmgr.pl: action install returned an error; continuing.
tlmgr.pl: An error has occurred. See above messages. Exiting.

答案1

这可能会有帮助:

sudo tlmgr --repository http://www.preining.info/tlgpg/ install tlgpg

https://texlive.info/tlgpg/

答案2

在 Linux 下运行我的 texlive 安装时,我遇到了与 tlmgr 完全相同的问题。这非常烦人。我推测该错误与 2018 版本已被冻结有关(而 2019 版本尚未发布)。

update-tlmgr-latest.sh对我来说,从以下位置下载并运行脚本很有帮助http://tug.org/texlive/upgrade.html。我首先运行它,没有使用任何选项,我相信这起了作用。

相关内容