分页: 1 / 1

求助:更新失败

发表于 : 2016-05-20 14:36
lovealone
ubuntu 16.10更新失败,提示信息如下:
(正在读取数据库 ... 系统当前共安装有 320000 个文件和目录。)
正准备解包 .../texlive-fonts-extra-doc_2016.20160512-1_all.deb ...
正在将 texlive-fonts-extra-doc (2016.20160512-1) 解包到 (2015.20160320-1) 上 ...
dpkg: 处理归档 /var/cache/apt/archives/texlive-fonts-extra-doc_2016.20160512-1_all.deb (--unpack)时出错:
正试图覆盖 /usr/share/doc/texlive-doc/latex/mweights/README,它同时被包含于软件包 texlive-latex-extra-doc 2015.20160320-1
dpkg-deb:错误:子进程 粘贴 被信号(断开的管道) 终止了
在处理时有错误发生:
/var/cache/apt/archives/texlive-fonts-extra-doc_2016.20160512-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
使用sudo apt -f upgrade或者sudo apt -f install都不行

Re: 求助:更新失败

发表于 : 2016-05-20 14:52
vickycq
texlive-fonts-extra-doc 打包有问题 参见 https://bugs.debian.org/cgi-bin/bugrepo ... bug=824137

可临时强制覆盖

代码: 全选

apt-get -o Dpkg::Options::="--force-overwrite" -f install