AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1253532
Accepted
kurokirasama
kurokirasama
Asked: 2020-06-25 17:32:55 +0800 CST2020-06-25 17:32:55 +0800 CST 2020-06-25 17:32:55 +0800 CST

尝试在 ubuntu 20.04 上通过 tlmgr 安装乳胶包时出现错误,verify_checksum: -5

  • 772

我在 ubuntu 20.04 上安装了 texlive:

sudo apt -y install texlive-latex-extra texlive-extra-utils texlive-font-utils

尝试安装乳胶包(任何)时,我得到了:

/usr/bin/tlmgr: unexpected return value from verify_checksum: -5

有任何想法吗?

编辑:你好,我用tlmgr install package_name. tlmgr 安装乳胶时安装...的输出dpkg -S $(which tlmgr)

texlive-base: /usr/bin/tlmgr

输出apt-cache policy texlive-base:

texlive-base:
  Installed: 2019.20200218-1
  Candidate: 2019.20200218-1
  Version table:
 *** 2019.20200218-1 500
        500 http://cl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://cl.archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

输出tlmgr --version:

tlmgr revision 53568 (2020-01-27 19:20:16 +0100)
tlmgr using installation: /usr/share/texlive
TeX Live (http://tug.org/texlive) version 2019
texlive 20.04
  • 2 2 个回答
  • 2986 Views

2 个回答

  • Voted
  1. Best Answer
    N0rbert
    2020-06-27T01:11:12+08:002020-06-27T01:11:12+08:00

    这里有两个时刻:

    1. 根据StackExchange 上的这个问答- TuG GPG 密钥已过期,因此您必须添加--verify-repo=none到命令中,如下所示:

      tlmgr --verify-repo=none install beamer
      

      另请注意,tlmgr将显示警告:

      tlmgr: Local TeX Live (2019) is older than remote repository (2020).
      

      所以需要一些额外的操作。

    2. 就我个人而言,我更喜欢使用发行版中的 deb 包进行安装。您可以使用这种方法作为解决方法。对于beamer包,可以在搜索beamer.cls时从 packages.ubuntu.com获得正确的 deb 包名称。所以你必须安装单个包:

      sudo apt-get install texlive-latex-recommended
      
    • 5
  2. Rogelio Prieto
    2021-03-31T17:45:44+08:002021-03-31T17:45:44+08:00

    tlmgr: Local TeX Live (2019) is older than remote repository (2020). 更改 TexLive 2019 的正确存储库已解决此错误。

    1. 在终端中键入此命令以更改默认存储库
    tlmgr repository add tug.org/historic/systems/texlive/2019/tlnet-final
    tlmgr repository list
    tlmgr repository remove mirror.ctan.org/systems/texlive/tlnet 
    tlmgr option repository tug.org/historic/systems/texlive/2019/tlnet-final 
    
    1. 使用这个安装你想要的 LaTeX 包:
    tlmgr --verify-repo=none install beamer
    

    在此示例中,我使用参数beamer成功安装了包。--verify-repo=none

    • 0

相关问题

  • 为什么我在 Tex 中丢失包裹

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve