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