我想安装evolution-ews
在Debian 10
. 我已经安装了进化,它没有错误。尝试安装evolution-ews
时,我收到以下错误:
$ sudo apt install evolution-ews
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
evolution-ews : Depends: libecal-1.2-19 (>= 3.22.6) but it is not going to be installed
Depends: libedata-cal-1.2-28 (>= 3.22.6) but it is not going to be installed
Depends: libevolution (>= 3.22.6) but it is not going to be installed
Depends: libevolution (< 3.23) but it is not going to be installed
Depends: evolution (>= 3.22) but it is not going to be installed
Depends: evolution (< 3.23) but it is not going to be installed
Depends: evolution-data-server (>= 3.22) but it is not going to be installed
Depends: evolution-data-server (< 3.23) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
- 所以只是为了测试我是否可以安装任何这些依赖项,我惊讶地发现它们都已经安装了。
$ sudo apt install libecal-1.2-19
Reading package lists... Done
Building dependency tree
Reading state information... Done
libecal-1.2-19 is already the newest version (3.30.5-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$ sudo apt install libedata-cal-1.2-28
Reading package lists... Done
Building dependency tree
Reading state information... Done
libedata-cal-1.2-28 is already the newest version (3.22.7-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$ sudo apt install libevolution
Reading package lists... Done
Building dependency tree
Reading state information... Done
libevolution is already the newest version (3.30.5-1.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$ sudo apt install evolution
Reading package lists... Done
Building dependency tree
Reading state information... Done
evolution is already the newest version (3.30.5-1.1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$ sudo apt install evolution-data-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
evolution-data-server is already the newest version (3.30.5-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
$
如您所见,evolution-ews
软件包所需的所有依赖项都已安装,其版本要么较新,要么至少与evolution-ews
所需内容保持同步。
- 只是为了好玩,我检查了任何“损坏的”包,因为原始错误消息谈到“损坏的包被阻止”。
$ dpkg -l | grep ^..r
$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
$ dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' | grep -E ^.[^nci]
$ dpkg --audit
$
如您所见,所有这些命令的输出都是干净的。没有破损的包裹。
的输出apt-mark showhold
指示没有保留的包。
所以这让我在这个阶段想知道:evolution-ews
看起来是一个损坏的包怎么会进入 Debian 存储库 - Debian 应该是“稳定的发行版”。或者我在这里错过了什么?
在 debian Buster 上,该
evolution-ews
软件包仅在 buster-backports 上可用。将 buster-backports 添加到您的
/etc/apt/sources.list
然后安装
evolution-ews
: