由于 apt pandoc 仍为 1.19 版本,因此我想尝试从这里安装它https://packages.debian.org/buster/amd64/pandoc/download。但是出了点问题:
$ sudo dpkg -i /tmp/mozilla_felix0/pandoc_2.2.1-3+b2_amd64.deb
Selecting previously unselected package pandoc.
(Reading database ... 197422 files and directories currently installed.)
Preparing to unpack .../pandoc_2.2.1-3+b2_amd64.deb ...
Unpacking pandoc (2.2.1-3+b2) ...
dpkg: dependency problems prevent configuration of pandoc:
pandoc depends on pandoc-data (>= 2.2.1-3); however:
Version of pandoc-data on system is 1.19.2.4~dfsg-1build4.
dpkg: error processing package pandoc (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
pandoc
每当我使用 pandoc 时我都会收到此错误消息
Could not find data file /usr/share/pandoc/data/abbreviations
我不知道现在该做什么。这是我第一次使用 dpkg。我想我需要以某种方式清除旧版本,但我以前用过apt remove pandoc
,所以我不知道出了什么问题。