Man*_*rti 5 package-management apt latex
我上周刚安装了 Ubuntu 18.04,这意味着我没有从 16.04 升级,而是格式化了硬盘并安装了 18.04。
我正在尝试安装texlive-full,但每当我使用:
sudo apt install texlive-full
Run Code Online (Sandbox Code Playgroud)
这就是我得到的:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
texlive-full : Depends: asymptote but it is not going to be installed
Depends: cm-super (>= 0.3.3-3) but it is not going to be installed
Depends: context but it is not going to be installed
Depends: dvipng but it is not going to be installed
Depends: feynmf but it is not going to be installed
Depends: fragmaster but it is not going to be installed
Depends: latex-cjk-all (>= 4.6.0+cvs20060714-2) but it is not going to be installed
Depends: latexmk but it is not going to be installed
Depends: prerex (> 6.5.3-1) but it is not going to be installed
Depends: purifyeps but it is not going to be installed
Depends: texlive-base (>= 2017.20170628) but it is not going to be installed
Depends: texlive-bibtex-extra (>= 2017.20170628) but it is not going to be installed
Depends: texlive-binaries (>= 2017.20170524.44437)
Depends: texlive-extra-utils (>= 2017.20170628) but it is not going to be installed
Depends: texlive-font-utils (>= 2017.20170628) but it is not going to be installed
Depends: texlive-fonts-extra (>= 2017.20170628) but it is not going to be installed
Depends: texlive-fonts-extra-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-fonts-recommended (>= 2017.20170628) but it is not going to be installed
Depends: texlive-fonts-recommended-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-formats-extra (>= 2017.20170628) but it is not going to be installed
Depends: texlive-games (>= 2017.20170628) but it is not going to be installed
Depends: texlive-humanities (>= 2017.20170628) but it is not going to be installed
Depends: texlive-humanities-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-arabic (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-chinese (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-cjk (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-cyrillic (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-czechslovak (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-english (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-european (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-french (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-german (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-greek (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-italian (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-japanese (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-korean (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-other (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-polish (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-portuguese (>= 2017.20170628) but it is not going to be installed
Depends: texlive-lang-spanish (>= 2017.20170628) but it is not going to be installed
Depends: texlive-latex-base (>= 2017.20170628) but it is not going to be installed
Depends: texlive-latex-base-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-latex-extra (>= 2017.20170628) but it is not going to be installed
Depends: texlive-latex-extra-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-latex-recommended (>= 2017.20170628) but it is not going to be installed
Depends: texlive-latex-recommended-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-luatex (>= 2017.20170628) but it is not going to be installed
Depends: texlive-metapost (>= 2017.20170628) but it is not going to be installed
Depends: texlive-metapost-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-music (>= 2017.20170628) but it is not going to be installed
Depends: texlive-pictures (>= 2017.20170628) but it is not going to be installed
Depends: texlive-pictures-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-plain-generic (>= 2017.20170628) but it is not going to be installed
Depends: texlive-pstricks (>= 2017.20170628) but it is not going to be installed
Depends: texlive-pstricks-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-publishers (>= 2017.20170628) but it is not going to be installed
Depends: texlive-publishers-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-science (>= 2017.20170628) but it is not going to be installed
Depends: texlive-science-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-xetex (>= 2017.20170628) but it is not going to be installed
Depends: tipa (>= 2:1.2-2.1) but it is not going to be installed
Depends: vprerex (> 6.5.3-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
建议?
编辑:这是输出sudo apt-cache policy texlive-full:
$ sudo apt-cache policy texlive-full
texlive-full:
Installed: (none)
Candidate: 2017.20180305-1
Version table:
2017.20180305-1 500
500 http://it.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://it.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
Run Code Online (Sandbox Code Playgroud)
在聊天过程中,我们发现 OP 有来自JonathonF 的 PPA 的texlive 相关包:
$ dpkg -l | grep york
ii libkpathsea6:amd64 2018.20180129.46472-0york1~16.04 amd64 TeX Live: path search library for TeX (runtime part
Run Code Online (Sandbox Code Playgroud)
我们删除了这个包
sudo apt purge libkpathsea6
Run Code Online (Sandbox Code Playgroud)
然后安装TeXLive
sudo apt install texlive-full
Run Code Online (Sandbox Code Playgroud)