[CentOS] Yum vs. pirut

Wed May 23 17:14:46 UTC 2007
Robert <kerplop at sbcglobal.net>

Daniel de Kok wrote:
> On Wed, 2007-05-23 at 10:01 +0200, Niki Kovacs wrote:
>   
>> Once I'm working with Yum, can i safely remove pirut?
>>     
>
> $ rpm -q --whatrequires pirut
> no package requires pirut
>
> Yes, you can ;).
>
> -- Daniel
>   
Following that logic, here's what I ran into, in trying to deep-six %$#* 
"gam_server":

[root at mavis libexec]# rpm -q --whatrequires gam_server
no package requires gam_server
[root at mavis libexec]# rpm -q --whatrequires gamin
gamin-devel-0.1.7-1.2.EL4
gamin-python-0.1.7-1.2.EL4
[root at mavis libexec]# rpm -q --whatrequires gamin-devel
no package requires gamin-devel
[root at mavis libexec]# rpm -q --whatrequires gamin-python
no package requires gamin-python
[root at mavis libexec]# man yum
[root at mavis libexec]# yum erase gamin gamin-devel gamin-python
Loading "fastestmirror" plugin
Loading "protectbase" plugin
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gamin-devel.i386 0:0.1.7-1.2.EL4 set to be erased
---> Package gamin.i386 0:0.1.7-1.2.EL4 set to be erased
---> Package gamin-python.i386 0:0.1.7-1.2.EL4 set to be erased
--> Running transaction check
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Determining fastest mirrors
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 1.5 MB    00:05
dag       : ################################################## 6231/6231
Added 3 new packages, deleted 0 old in 9.76 seconds
primary.xml.gz            100% |=========================|  27 kB    00:00
update    : ################################################## 107/107
Added 2 new packages, deleted 0 old in 0.39 seconds
Excluding Packages in global exclude list
Finished
139 packages excluded due to repository protections
Excluding Packages in global exclude list
Finished
0 packages excluded due to repository protections
--> Processing Dependency: libfam.so.0 for package: kdegames
--> Processing Dependency: libfam.so.0 for package: kdenetwork-nowlistening
--> Processing Dependency: libfam.so.0 for package: kdeartwork

<BEEG SNEEP>

xine-lib                i386       1.1.6-1.el4.rf   installed          22 M
 xsane-gimp              i386       0.92-13          installed         531 k
 yelp                    i386       2.6.4-2          installed         1.1 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove     197 Package(s)
Total download size: 0
Is this ok [y/N]: N
Exiting on user Command
Complete!
[root at mavis libexec]# 

...No, I didn't!   ;-).