我在16.04上有一个文本直播的工作版本,但是在从16.04更新到16.10,然后更新到17.04 (或者其他事情?)现在它坏了。我用apt-get清除了我所有的文本包:sudo apt-get purge tex*,我还为所有的文本生活和相关的包清除了dpkg sudo dpkg --purge texlive中的所有文本生活。以下所有操作都没有出现错误:
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo dpkg --configure -a 但是当我试图安装文本时,我得到了:
sudo apt-get install texlive
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 : Depends: texlive-latex-recommended (>= 2016) but it is not going to be installed
Depends: texlive-latex-base (>= 2016) but it is not going to be installed
Depends: texlive-fonts-recommended (>= 2016) but it is not going to be installed
E: Unable to correct problems, you have held broken packages. 发布于 2017-07-20 18:06:30
好的,在尝试了一段时间之后,我安装了一些智能,它能够提出一个解决方案(在尝试了第一个问题之后失败了),降低了libpathsea6的级别。详细信息:
oz@oz-linux:~$ sudo aptitude install texlive-latex-base
The following NEW packages will be installed:
fonts-lmodern{a} libpotrace0{a} libptexenc1{a} libsynctex1{a} libtexlua52{a} libtexluajit2{a} libzzip-0-13{a} lmodern{a}
texlive-base{a} texlive-binaries{ab} texlive-latex-base texlive-latex-base-doc{a}
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 83.4 MB of archives. After unpacking 188 MB will be used.
The following packages have unmet dependencies:
texlive-binaries : Depends: libkpathsea6 (< 2016.20160513.41080.dfsg-1.1~) but 2017.20170613.44585-1~16.04.york0 is installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) texlive-base [Not Installed]
2) texlive-binaries [Not Installed]
3) texlive-latex-base [Not Installed]
4) texlive-latex-base-doc [Not Installed]
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Downgrade the following packages:
1) libkpathsea6 [2017.20170613.44585-1~16.04.york0 (now) -> 2016.20160513.41080.dfsg-1 (zesty)]发布于 2017-07-20 03:41:12
我遇到了类似的问题,我所做的是:sudo apt-get purge texlive,然后运行sudo apt-get autoremove和您提到的fix安装命令序列,然后是命令:
sudo apt-get install texlive-full
https://askubuntu.com/questions/937872
复制相似问题