web-dev-qa-db-fra.com

Problèmes d'installation de Krita, dépendances non satisfaites

Sudo apt-get install krita
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: calligra-libs (= 1:2.8.5-0ubuntu6~ubuntu14.04~ppa1) but it is not going to be installed
         Depends: libkdcraw23 but it is not going to be installed
         Depends: libkdeui5 but it is not going to be installed
         Depends: libkfile4 but it is not going to be installed
         Depends: libkio5 but it is not going to be installed
         Depends: libopencolorio1 but it is not installable
         Depends: libpoppler-qt4-4 (>= 0.20.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

Sudo apt-get update
Hit http://repo.steampowered.com precise InRelease
Ign http://dl.google.com stable InRelease                                      
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://repository.spotify.com stable InRelease                             
Hit http://dl.google.com stable Release.gpg                                    
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://repository.spotify.com stable/non-free AMD64 Packages               
Hit http://dl.google.com stable Release                                        
Ign http://archive.ubuntu.com trusty InRelease                                 
Ign http://ppa.launchpad.net trusty InRelease                                  
Get:1 http://archive.ubuntu.com trusty Release.gpg [72 B]                      
Get:2 http://archive.ubuntu.com trusty Release [11.9 kB]                       
Hit http://dl.google.com stable/main AMD64 Packages                            
Hit http://repository.spotify.com stable/non-free i386 Packages                
Ign http://ppa.launchpad.net trusty InRelease                                  
Get:3 http://archive.ubuntu.com trusty/main AMD64 Packages [14 B]              
Hit http://dl.google.com stable/main i386 Packages                             
Ign http://ppa.launchpad.net trusty InRelease                                  
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://ppa.launchpad.net trusty Release.gpg                       
Hit http://repo.steampowered.com precise/Steam Sources                
Hit http://ppa.launchpad.net trusty Release.gpg                                
Hit http://ppa.launchpad.net trusty Release.gpg                       
Get:4 http://ppa.launchpad.net trusty Release.gpg [316 B]             
Hit http://ppa.launchpad.net trusty Release.gpg                                
Hit http://ppa.launchpad.net trusty Release.gpg                       
Hit http://repo.steampowered.com precise/Steam AMD64 Packages         
Ign http://repository.spotify.com stable/non-free Translation-en_US            
Hit http://ppa.launchpad.net trusty Release                                    
Ign http://repository.spotify.com stable/non-free Translation-en               
Hit http://ppa.launchpad.net trusty Release                                    
Ign http://dl.google.com stable/main Translation-en_US                         
Hit http://ppa.launchpad.net trusty Release                           
Ign http://dl.google.com stable/main Translation-en                            
Get:5 http://ppa.launchpad.net trusty Release [15.1 kB]               
Hit http://repo.steampowered.com precise/Steam i386 Packages
Hit http://ppa.launchpad.net trusty Release                                 
Hit http://ppa.launchpad.net trusty Release                            
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                
Hit http://ppa.launchpad.net trusty/main i386 Packages            
Hit http://ppa.launchpad.net trusty/main Translation-en           
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                 
Hit http://ppa.launchpad.net trusty/main i386 Packages             
Hit http://ppa.launchpad.net trusty/main Translation-en            
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                  
Hit http://ppa.launchpad.net trusty/main i386 Packages             
Get:6 http://ppa.launchpad.net trusty/main Translation-en [4,606 B]
Get:7 http://ppa.launchpad.net trusty/main AMD64 Packages [13.8 kB]          
Get:8 http://ppa.launchpad.net trusty/main i386 Packages [13.8 kB]     
Get:9 http://ppa.launchpad.net trusty/main Translation-en [4,824 B]    
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                      
Hit http://ppa.launchpad.net trusty/main i386 Packages             
Hit http://ppa.launchpad.net trusty/main Translation-en            
Hit http://ppa.launchpad.net trusty/main AMD64 Packages                  
Hit http://ppa.launchpad.net trusty/main i386 Packages             
Hit http://ppa.launchpad.net trusty/main Translation-en            
Ign http://repo.steampowered.com precise/Steam Translation-en_US               
Ign http://repo.steampowered.com precise/Steam Translation-en                  
Fetched 64.5 kB in 6s (10.2 kB/s)                                              
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'universe/binary-AMD64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Tout à fait un noob Ubuntu, la première fois que je dois faire face à quelque chose comme ça.

1
TheWarCatz

Assurez-vous que les référentiels restricted et universe sont activés. Frappé Alt+F2, tapez software-properties-gtk et appuyez sur Enter.

En dessous de Ubuntu Software tab, activez tous les référentiels.

enter image description here

La manière préférée d'installer krita consiste à activer le PPA suivant:

Sudo add-apt-repository ppa:kubuntu-ppa/backports 
Sudo apt-get update 
Sudo apt-get install krita

Notez que les versions précédentes de krita doivent être désinstallées.

1
Ron

Eu le même problème. J'ai essayé 2 choses:

Sudo add-apt-repository ppa:kubuntu-ppa/backports

&

sude aptitude install kdelibs-bin kdelibs5-data kdelibs5-plugins

Travaillé pour moi

2
Sam

Essayez de faire avant d'installer:

Sudo apt upgrade

Ça a marché pour moi

0
Jean-Marc