我已经安装了 Latex,但错误如下...如何解决。我是第一次使用 Ubuntu18..请建议分步程序
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-full is already the newest version (2017.20180305-1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
texlive-full : Depends: texlive-latex-base-doc (>= 2017.20170628) but it is not going to be installed
Depends: texlive-music (>= 2017.20170628) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
答案1
打开终端并输入:
sudo apt update
sudo apt install aptitude
sudo apt --fix-broken install
cd /var/cache/apt/archives/
sudo rm texlive-music_2017.20180305-2_all.deb texlive-latex-base-doc_2017.20180305-1_all.deb
sudo aptitude install -f texlive-latex-base-doc texlive-music