如何在 Linux Mint 上安装 digikam5?

如何在 Linux Mint 上安装 digikam5?

添加后ppa:philip5/extra苯丙胺

sudo add-apt-repository ppa:philip5/extra
apt update ; apt upgrade 

我尝试安装digikam5包并收到错误:

$ apt install  digikam5
The following packages have unmet dependencies:
 digikam5 : Depends: libmarblewidget-qt5-23 (>= 4:15.12.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

更新

$ apt install digikam5 libmarblewidget-qt5-23
The following packages have unmet dependencies:
 libmarblewidget-qt5-23 : Depends: libastro1 (= 4:15.12.3-0ubuntu2) but 4:16.04.3-0ubuntu2~ubuntu16.04~ppa63 is to be installed
E: Unable to correct problems, you have held broken packages.

libastro1因此需要比要安装的版本更低的版本。

问题

如何安装 digikam 版本 5?

答案1

指定确切的版本 ( libastro1=4:15.12.3-0ubuntu2) 允许安装:

apt install \
    digikam5 \
    libmarblewidget-qt5-23 \
    libastro1=4:15.12.3-0ubuntu2

相关内容