我正在尝试安装protonmail 桥(这样我就可以通过 Thunderbird 获取和发送我的 Protonmail)在我的新安装的 Ubuntu 20.10 上。不幸的是,它指出它有未满足的依赖项:ttf-dejavu
。有人知道如何纠正这个问题吗?
***@***:~/Downloads$ sudo apt install ./protonmail-bridge_1.4.5-1_amd64.deb
[sudo] password for ***:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'protonmail-bridge' instead of './protonmail-bridge_1.4.5-1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
protonmail-bridge : Depends: ttf-dejavu but it is not installable
E: Unable to correct problems, you have held broken packages.
答案1
ttf-dejavu
是一个过渡包,已从 Ubuntu 20.10 的存档中删除。的维护者早就protonmail-bridge
应该用 替换该依赖项了。fonts-dejavu
为了解决目前的问题,你可以下载焦点版本的
ttf-dejavu
ttf-dejavu-core
ttf-dejavu-extra
然后先安装后两个:
sudo dpkg -i ttf-dejavu-*
然后执行以下操作:
sudo apt install ./ttf-dejavu_2.37-1_all.deb
答案2
来自 protonmail-bridge 团队:
感谢您举报此问题。我们已意识到此问题,正在努力修复。
目前,一种解决方法是手动下载并安装 ttf-dejavu 及其依赖项。它们将充当元包,满足 bridge 对 ttf-dejavu 的依赖,同时安装发行版自己的 fonts-dejavu 包。
下载这些软件包(来自 Debian sid): https://packages.debian.org/sid/ttf-dejavu https://packages.debian.org/sid/ttf-dejavu-core https://packages.debian.org/sid/ttf-dejavu-extra
使用“all”架构下载,然后选择镜像。下载软件包后,使用 apt 安装它们:
$ sudo apt install /path/to/download/location/ttf-dejavu*.deb