[packagekit] yum requirements -- can and cannot remove gimp

Matej Cepl mcepl at redhat.com
Wed Nov 7 04:37:35 PST 2007


I want to remove GIMP (big, fat and I don't use it). Because PK 
(so far) cannot remove all depending packages, I have to check 
dependencies first:

[matej at viklef ~]$ pkcon get requires gimp
resolve runtime was 0.8 seconds
get-requires runtime was 0.8 seconds                                            
[matej at viklef ~]$

OK, that means I can just go ahead, right?

[matej at viklef ~]$ pkcon remove gimp
resolve runtime was 0.8 seconds
    [..........................................................]    
0%          Error: dep-resolution-failed : package could not be 
remove, because something depends on it
remove-package runtime was 5.2 seconds                                          
[matej at viklef ~]$

Ouch, so there is something (what the hell is this kind of error 
message -- „something depends on it“; cannot PK tell me what 
depends on it, or even better to suggest to remove it as well?).

[matej at viklef ~]$ sudo repoquery -q --whatrequires gimp
xsane-gimp-0:0.994-4.fc8.i386
gimp-resynthesizer-0:0.15-2.fc8.i386
GREYCstoration-gimp-0:2.5.2-6.fc8.i386
gimp-help-0:2-0.2.0.13.fc8.noarch
gutenprint-plugin-0:5.0.1-5.fc8.i386
[matej at viklef ~]$ sudo rpm -q xsane-gimp gimp-resynthesizer \
   GREYCstoration-gimp gimp-help gutenprint-plugin
balíček xsane-gimp není nainstalován
balíček gimp-resynthesizer není nainstalován
balíček GREYCstoration-gimp není nainstalován
balíček gimp-help není nainstalován
gutenprint-plugin-5.0.1-5.fc8
[matej at viklef ~]$ 

OK, so I have to remove gutenprint-plugin first, right?

[matej at viklef ~]$ pkcon remove gutenprint-plugin
resolve runtime was 0.8 seconds
    [..........................................................]    
0%          Error: dep-resolution-failed : package could not be 
remove, because something depends on it
remove-package runtime was 5.2 seconds                                          
[matej at viklef ~]$

Ouch, again!

[matej at viklef ~]$ sudo repoquery -q --whatrequires gutenprint-plugin
gimp-2:2.4.0-0.rc3.2.fc8.i386
gimp-2:2.4.1-1.fc8.i386
[matej at viklef ~]$ 

Oh boy. :-( But wait, maybe I can remove both of them at once?

[matej at viklef ~]$ pkcon remove gutenprint-plugin gimp
resolve runtime was 0.8 seconds
    [..........................................................]    
0%          Error: dep-resolution-failed : package could not be 
remove, because something depends on it
remove-package runtime was 5.2 seconds                                          
[matej at viklef ~]$ 

No, I can't.

Any ideas?

Matěj





More information about the PackageKit mailing list