Debian

有沒有人在 Debian 10 上成功安裝了 evolution-ews?

  • January 29, 2020

我想安裝evolution-ewsDebian 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

deb http://ftp.de.debian.org/debian buster-backports main 

然後安裝evolution-ews

sudo apt update
sudo apt install -t buster-backports evolution-ews

引用自:https://unix.stackexchange.com/questions/564712