我试图从 texlive 2015 更新到 2017。
我运行了以下命令:
sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full
运行最后一行后,我得到了很多具有未满足依赖项的包名称和以下错误:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
但是运行
sudo apt-get -f install
会导致另一个错误
Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
看起来我遇到了一个循环问题。我尝试了在 Ubuntu 16.04 LTS 上安装 texlive 2017
中列出的解决方案,但没有成功。
有人可以帮帮我吗?
通常不推荐使用,但您可以使用强制文件覆盖
接着