我正在使用Ubuntu 14.04
。pandoc 1.12.2.1-1build2
从我安装之前software center
。今天,我pandoc-1.17.2-1-amd64.deb
从GitHub下载并尝试安装它。但是我得到了这个错误:
Unpacking pandoc (1.17.2-1) ...
dpkg: error processing archive ~/Downloads/pandoc-1.17.2-1-amd64.deb (--install):
trying to overwrite '/usr/bin/pandoc-citeproc', which is also in package pandoc-citeproc 0.2-3build1
dpkg-deb (subprocess): decompressing archive member: internal gzip write error: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from '~/Downloads/pandoc-1.17.2-1-amd64.deb' to decompressor pipe: failed to write (Broken pipe)
我也删除了以前pandoc
的版本并尝试安装它的新版本,但没有帮助。我该如何解决这个问题?
据我了解,这些软件包pandoc-citeproc
和pandoc
提供相同的软件(从概念上讲)是相同的,但是它们是由不相关的人打包和分发的,因此他们彼此之间并不了解。这就是为什么它们具有冲突的内容,但缺少在这种情况下通常应具有的Conflicts
或Replaces
标志的原因。
要解决此问题,您需要pandoc-citeproc
在安装软件包之前先删除pandoc
软件包。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句