我在 ubuntu 上安装了一个新的升级,但最后似乎失败了。现在我被告知发生了错误,请运行 apt-get 来查看哪里出了问题。经过几次尝试后,我最终放弃了。似乎某个地方有一个剩余的 latex 包(?),我似乎无法摆脱或修复它。以下是一个例子:
blank@ubuntu:~$ sudo apt-get dist-upgrade
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:
tex-common : Breaks: texlive-common (< 2010) but 2009-15 is installed
texlive-base : Depends: texlive-binaries (>= 2012.20120516) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-doc-base : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-extra-utils : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
texlive-font-utils : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-generic-recommended : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-latex-base : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-latex-base-doc : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-latex-extra : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-latex-extra-doc : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-latex-recommended : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-latex-recommended-doc : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-luatex : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-pictures : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-pictures-doc : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-pstricks : Depends: texlive-binaries (>= 2012-0) but 2009-11ubuntu2 is installed
Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
texlive-pstricks-doc : Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
zlib1g : Breaks: texlive-binaries (< 2009-12) but 2009-11ubuntu2 is installed
zlib1g:i386 : Breaks: texlive-binaries (< 2009-12) but 2009-11ubuntu2 is installed
E: Unmet dependencies. Try using -f.
我在这里的网站上看到过类似的错误,但还不够接近,无法修复。任何帮助都很好,谢谢
答案1
尝试这个:
sudo apt-get purge texlive* tex-common*