我直接把WSL里的Ubuntu从16.04更新到18.04,texlive也就自动从2015升级到2017,但是系统升级完成后,texlive没更新成功。
sudo apt --fix-broken install
的时候有texlive的包报错
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20180305-2_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
解决方法:sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20180305-2_all.deb
把这个包强制安装一下,然后再装就可以了。
Comments
注:如果长时间无法加载,请针对 disq.us | disquscdn.com | disqus.com 启用代理。