web-dev-qa-db-fra.com

Impossible d'installer Krita

J'ai essayé d'installer Krita mais je reçois toujours les mêmes messages d'erreur.

J'ai déjà essayé d'installer en utilisant

Sudo apt-get -f  

et aussi

Sudo apt autoremove 

mais toujours avoir ces erreurs:

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.

Comme je l'ai mentionné, j'ai essayé d'installer à l'aide de l'option -f et de autoremove, mais je n'y suis pas parvenu. C'est pourquoi j'ai essayé d'installer manuellement le paquet libpoppler-qt5-1 mais cela n'a pas fonctionné.

Que puis-je faire maintenant?

En passant, j'utilise Ubuntu 18.04LTS

détails du système

Cela fonctionne pour moi:

Premier déclasser une dépendance

Sudo apt install libpoppler73=0.62.0-2ubuntu2

Deuxième installation de la bibliothèque manquante

Sudo apt install libpoppler-qt5-1

Installer Krita

Sudo apt install krita
2
Florin