On Mon, 5 Sep 2011, Andrew Z wrote:

i'm not sure why there is a difference in the output of "rpm -q
--whatrequires " and "yum remove"
[code]
yum remove libxklavier-4.0-7.el6.x86_64
Loaded plugins: refresh-packagekit
Setting up Remove Process
Resolving Dependencies
<skip>
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================
Package              Arch      Version
Repository                                          Size
==========================================================================================================
Removing:
libxklavier          x86_64    4.0-7.el6
@anaconda-ScientificLinux-201103021619.x86_64/6    139 k
Removing for dependencies:
gnome-screensaver    x86_64    2.28.3-8.el6

Try rpm -q --requires libxklavier-4.0-7
"Removing for dependencies" in the yum output
appears (to me) to mean
   these packages were installed because libxklavier-4.0-7
   required them. nothing else requires them,
   so I'll remove them too.

... but I'm only guessing.

--
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[email protected]   http://www.dpmms.cam.ac.uk/~werdna

Reply via email to