无法安装 Krita

无法安装 Krita

我尝试安装克里塔但我总是收到相同的错误消息。

我已经尝试使用安装

sudo apt-get -f  

并且

sudo apt autoremove 

但仍然会出现这些错误:

necrosnake@necrosnake-BU5:~$ sudo apt-get install krita
[sudo] password for necrosnake: 
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:
krita : Depends: libpoppler-qt5-1 (>= 0.24.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
necrosnake@necrosnake-BU5:~$ sudo apt-get install libpoppler-qt5-1
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:
 libpoppler-qt5-1 : Depends: libpoppler73 (= 0.62.0-2ubuntu2) but 0.62.0-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.

正如我提到的,我尝试使用该-f选项进行安装,autoremove但没有成功。这就是为什么我尝试手动安装该包 libpoppler-qt5-1,但没有成功。

我现在能做什么?

顺便说一下,我使用的是 Ubuntu 18.04LTS

系统详细信息

答案1

这对我有用:

首先降级依赖项

sudo apt install libpoppler73=0.62.0-2ubuntu2

第二次安装缺少的库

sudo apt install libpoppler-qt5-1

安装 Krita

sudo apt install krita

相关内容