安装 texlive-xetex 时出现问题

安装 texlive-xetex 时出现问题

跑步后

sudo apt-get install texlive-xetex

我明白了

Ign:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 texlive-fonts-recommended all 2017.20180305-1                                                             
Err:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 texlive-fonts-recommended all 2017.20180305-1
  Connection failed [IP: 91.189.88.152 80]
Unable to correct missing packages.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/t/texlive-base/texlive-fonts-recommended_2017.20180305-1_all.deb  Connection failed [IP: 91.189.88.152 80]
E: Aborting install.

为什么会发生这种情况?我该如何解决?

答案1

首先,运行sudo apt update并重试安装texlive-xetex

如果这不起作用,切换到不同的镜像

相关内容