首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >TeXLive更新错误: tlmgr:远程存储库比本地存储库新(2017 < 2018)

TeXLive更新错误: tlmgr:远程存储库比本地存储库新(2017 < 2018)
EN

Stack Overflow用户
提问于 2018-11-21 04:53:07
回答 1查看 3K关注 0票数 7

我在配置TeXLive的自动更新时遇到了问题,尽管我非常确定我下载了2018年的TeXLive版本,我得到的是这个错误

代码语言:javascript
复制
$ ls -l /usr/local/texlive$ sudo tlmgr update --self --all
[sudo] Passwort : 
(running on Debian, switching to user mode!)
tlmgr: Remote repository is newer than local (2017 < 2018)
Cross release updates are only supported with
update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.

查找我的TexLive版本,结果显示是2018版本

代码语言:javascript
复制
$ ls -l /usr/local/texlive
insgesamt 8
drwxr-xr-x 9 root root 4096 Nov 20 17:50 2018
drwxr-xr-x 10 root root 4096 Nov 20 16:13 texmf-local


$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

但是运行此命令会显示该命令的另一个版本

代码语言:javascript
复制
$ tlmgr version
(running on Debian, switching to user mode!)
tlmgr revision 46207 (2018-01-04 19:34:36 +0100)
tlmgr using installation: /usr/share/texlive
TeX Live (http://tug.org/texlive) version 2017

$ tex --version
TeX 3.14159265 (TeX Live 2017/Debian)
kpathsea version 6.2.3
Copyright 2017 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.

$ latex --version
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian)
kpathsea version 6.2.3
Copyright 2017 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.34; using libpng 1.6.34
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with poppler version 0.62.0
EN

回答 1

Stack Overflow用户

发布于 2019-11-25 23:47:27

将存储库更改为较旧的版本为我修复了此问题。

代码语言:javascript
复制
tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final

在此之后,我可以运行update命令。

在stackoverflow.com的评论中找到了这个解决方案,但我不再了解这个主题了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53401351

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档