“管道破裂”是什么意思?

“管道破裂”是什么意思?

我尝试从 14.04 升级到 16.04,然后收到一条有趣的消息。我目前卡在两个版本之间,无法前进或后退。我只有终端命令功能,没有 GUI。以下是我运行后的结果(手写输入):

$ sudo apt-get -f install
87 upgraded, 29 newly installed, 7 to remove, and 1732 not upgraded.
4 not fully installed or removed
need to get 0B/404 MB of archives
After this operation, 257 MB of additional disk space will be used
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages...
(Reading database... 423378 files and directories currently installed.)
Preparing to unpack... /texlive-latex-base-doc_2015.20160320-1_all.deb
unpacking texlive-latex-base-doc (2015.20160320-1) over (2013.20140215-1)...
dpkg: error processing archive /var/cache/apt/archives/texlive-latex-base-doc_2015.20160320-1_all.deb (--unpack):
trying to Trying to overwrite '/usr/share/doc/texlive-doc/latex/url/url.tx.gz, which is also in package texlive-latex-recommended-doc 2013.20140215-1
dpkg-deb: error subprocess paste was killed by signal (broken pipe)
Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: for now these files have been included
Warning: but expect inconsistencies
Warning: these packages should be rebuilt with tex-common
Warning: please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/00updmap.cfg
Warning: found file: /etc/texmf/updmap.d/101modern.cfg
Warning: found file: /etc/texmf/updmap.d/10texlive-base.cfg
Warning: found file: /etc/texmf/updmap.d/texlive-latex-base.cfg
Warning: found file: /etc/texmf/updmap.d/texlive-latex-extra.cfg
Warning: found file: /etc/texmf/updmap.d/texlive-pictures.cfg
Errors were encountered while processing /var/cache/apt/archives/texlive-latex-base-doc_2015.20160320-1_all.deb
E: Subprocess /usr/bin/dpkg returned an error code (1)

答案1

这将使你摆脱 apt-get 错误

sudo dpkg --force-all --purge texlive-latex-base-doc

相关内容