La instalación es tan fácil como
yum install yum-plugin-remove-with-leaves
Y el uso es
yum erase  - remove-with-leaves
 Sirve?
Por ejemplo:
yum -y install supertuxkart.i686
.
..
...
Resolving Dependencies
--> Running transaction check
---> Package supertuxkart.i686 0:0.7-2.fc15 will be installed
--> Processing Dependency: supertuxkart-data = 0.7 for package: supertuxkart-0.7-2.fc15.i686
--> Processing Dependency: opengl-games-utils for package: supertuxkart-0.7-2.fc15.i686
--> Processing Dependency: libIrrlicht.so.1.7 for package: supertuxkart-0.7-2.fc15.i686
--> Processing Dependency: libIrrXML.so.1.7 for package: supertuxkart-0.7-2.fc15.i686
--> Processing Dependency: libopenal.so.1 for package: supertuxkart-0.7-2.fc15.i686
--> Running transaction check
Luego
yum erase supertuxkart - remove-with-leaves
.
..
...
Removing:
 supertuxkart                            i686                         0.7-2.fc15                       @fedora                       2.5 M
Removing for dependencies:
 supertuxkart-data                       noarch                       0.7-2.fc15                       @fedora                       139 M
Ahora bien con yum history efectivamente desinstalamos todo :)
yum history info 25
.
..
...
Command Line   : -y install supertuxkart.i686
Transaction performed with:
    Installed     rpm-4.9.0-6.fc15.i686
    Installed     yum-3.2.29-5.fc15.noarch
    Installed     yum-metadata-parser-1.1.4-4.fc15.i686
    Installed     yum-plugin-fastestmirror-1.1.30-2.fc15.noarch
    Installed     yum-presto-0.6.2-3.fc15.noarch
Luego
yum history undo 25
.
..
...
Removing:
 irrlicht                               i686                       1.7.2-4.fc15                          @fedora                     5.3 M
 libaesgm                               i686                       20090429-4.fc15                       @fedora                     128 k
 openal-soft                            i686                       1.12.854-2.fc15                       @fedora                     304 k
 opengl-games-utils                     noarch                     0.1-10.fc15                           @fedora                     2.4 k
 supertuxkart                           i686                       0.7-2.fc15                            @fedora                     2.5 M
 supertuxkart-data                      noarch                     0.7-2.fc15                            @fedora                     139 M
Escoja usted su veneno!
Originalmente en alemán (creo) por acá
http://www.fedora-blog.de/2011/06/yum-plugin-remove-with-leaves/
By Casep!
 
 
You should read
ResponderEliminarhttp://skvidal.wordpress.com/2010/11/09/orphaned-dep-cleanup-in-yum/