![Latex 从 15.10 升级到 16.04 时出现的问题](https://linux22.com/image/989817/Latex%20%E4%BB%8E%2015.10%20%E5%8D%87%E7%BA%A7%E5%88%B0%2016.04%20%E6%97%B6%E5%87%BA%E7%8E%B0%E7%9A%84%E9%97%AE%E9%A2%98.png)
这是我运行时得到的结果apt-get dist-upgrade
,但运行-f
不执行任何操作:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
asymptote : Depends: texlive-latex-base but it is not installed
Depends: texlive-base-bin
latex-beamer : Depends: texlive-latex-base but it is not installed
libboost-dev : Depends: libboost1.54-dev but it is not installable
libboost-serialization-dev : Depends: libboost-serialization1.54-dev but it is not installable
lilypond-data : Depends: texlive-base-bin
luatex : Depends: texlive-binaries (>= 2014) but it is not installed
prosper : Depends: texlive-latex-base but it is not installed
texlive-base : Depends: texlive-binaries (>= 2013.20130512) but it is not installed
texlive-latex-extra : Depends: texlive-binaries (>= 2013.20130512) but it is not installed
texlive-latex-extra-doc : Depends: tex-common (>= 6) but 4.04 is installed
Depends: texlive-base (>= 2015) but 2013.20140215-1 is installed
texlive-latex-recommended : Depends: texlive-latex-base (>= 2013.20130512) but it is not installed
Depends: texlive-binaries (>= 2013.20130512) but it is not installed
texlive-luatex : Depends: texlive-binaries (>= 2013.20130512) but it is not installed
texlive-pictures : Depends: texlive-binaries (>= 2013.20130512) but it is not installed
texlive-pstricks : Depends: texlive-generic-recommended (>= 2013.20130512) but it is not installed
Depends: texlive-binaries (>= 2013.20130512) but it is not installed
Recommends: texlive-font-utils but it is not installed
Recommends: texlive-extra-utils but it is not installed
E: Unmet dependencies. Try using -f.
答案1
仔细查看错误。您需要使用
sudo apt-get install -f
解决任何未满足的依赖关系。因此,请尝试此操作,然后升级到 16.04。