首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用texlive破坏依赖关系

用texlive破坏依赖关系
EN

Ask Ubuntu用户
提问于 2017-07-20 02:32:49
回答 2查看 4.5K关注 0票数 3

我在16.04上有一个文本直播的工作版本,但是在从16.04更新到16.10,然后更新到17.04 (或者其他事情?)现在它坏了。我用apt-get清除了我所有的文本包:sudo apt-get purge tex*,我还为所有的文本生活和相关的包清除了dpkg sudo dpkg --purge texlive中的所有文本生活。以下所有操作都没有出现错误:

代码语言:javascript
复制
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade
sudo dpkg --configure -a 

但是当我试图安装文本时,我得到了:

代码语言:javascript
复制
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.  
EN

回答 2

Ask Ubuntu用户

发布于 2017-07-20 18:06:30

好的,在尝试了一段时间之后,我安装了一些智能,它能够提出一个解决方案(在尝试了第一个问题之后失败了),降低了libpathsea6的级别。详细信息:

代码语言:javascript
复制
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)]
票数 3
EN

Ask Ubuntu用户

发布于 2017-07-20 03:41:12

我遇到了类似的问题,我所做的是:sudo apt-get purge texlive,然后运行sudo apt-get autoremove和您提到的fix安装命令序列,然后是命令:

sudo apt-get install texlive-full

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/937872

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档