安装 Kalarm,拖入许多 Akonadi 包,但无法启动并说需要 Akonadi?

安装 Kalarm,拖入许多 Akonadi 包,但无法启动并说需要 Akonadi?

全新安装的 Kubuntu 19.10

我安装了 Kalarm,它拖拽了 39 个其他包,大多数名称中都带有“akonadi”或“pim”。

然后我尝试启动 Kalarm,出现一个面板,提示“Akonadi 个人信息管理服务未运行。没有它,此应用程序无法使用。”。下面有一个很大的“开始”按钮,但点击它没有任何反应。

如果我kalarm从终端启动,我会看到:

org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
org.kde.pim.kalarm: Preferences::setNoAutoStart: Error writing autostart file: "/home/me/.config/autostart/kalarm.autostart.desktop"
org.kde.pim.akonadicore: Unable to execute akonadi_control, falling back to D-Bus auto-launch

单击“开始”按钮将添加另一个:

org.kde.pim.akonadicore: Unable to execute akonadi_control, falling back to D-Bus auto-launch

创建/home/me/.config/autostart/kalarm.autostart.desktop删除第二行但不能解决问题。

有任何想法吗?

版本:

plasmashell 5.16.5
Qt: 5.12.4
KDE Frameworks: 5.62.0
kf5-config: 1.0

编辑:因此安装了 mariadb 和 akonadi 服务器 (5.11.3)。重新启动。现在启动kalarm显示:

 org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
Failed to register /MainApplication on DBus
""

akonadiselftest报告两个错误:

  • 未找到 MySQL 服务器默认配置
  • 未找到资源代理

当前安装状态:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version            Architecture Description
+++-=================================-==================-============-==========================================
ii  akonadi-backend-mysql             4:19.04.3-0ubuntu3 all          MySQL storage backend for Akonadi
un  akonadi-backend-postgresql        <none>             <none>       (no description available)
un  akonadi-backend-sqlite            <none>             <none>       (no description available)
ii  akonadi-server                    4:19.04.3-0ubuntu3 amd64        Akonadi PIM storage service
un  akonadiconsole                    <none>             <none>       (no description available)
un  libakonadi-kf5                    <none>             <none>       (no description available)
ii  libkf5akonadicontact-data         4:19.04.3-0ubuntu1 all          akonadi-contacts - data files
un  libkf5akonadicontact5             <none>             <none>       (no description available)
ii  libkf5akonadicontact5abi1:amd64   4:19.04.3-0ubuntu1 amd64        Akonadi contacts access library
ii  libkf5akonadicore-bin             4:19.04.3-0ubuntu3 amd64        Tools for Akonadi core library
un  libkf5akonadicore5                <none>             <none>       (no description available)
ii  libkf5akonadicore5abi1:amd64      4:19.04.3-0ubuntu3 amd64        Akonadi core library
ii  libkf5akonadimime-data            4:19.04.3-0ubuntu1 all          akonadi-mime - data files
ii  libkf5akonadimime5:amd64          4:19.04.3-0ubuntu1 amd64        Akonadi MIME handling library
ii  libkf5akonadiprivate5abi2:amd64   4:19.04.3-0ubuntu3 amd64        libraries for the Akonadi PIM storage serv
ii  libkf5akonadisearchpim5:amd64     4:19.04.3-0ubuntu1 amd64        Akonadi search library
un  libkf5akonadisocialutils5         <none>             <none>       (no description available)
ii  libkf5akonadiwidgets5abi1:amd64   4:19.04.3-0ubuntu3 amd64        Akonadi widgets library
un  libkf5akonadixml5                 <none>             <none>       (no description available)
ii  libkf5libkdepimakonadi5:amd64     4:19.04.3-0ubuntu1 amd64        KDE PIM Akonadi library
ii  libkf5mailtransportakonadi5:amd64 19.04.3-0ubuntu1   amd64        mail transport service library for akonadi

答案1

除了在 Kubuntu 19.10(最小安装选项)安装时引入的依赖项之外,还kalarm需要额外安装akonadi-serverkdepim-runtime


该问题将在不久的将来得到修复:参见这里这里

相关内容