Product SiteDocumentation Site

8.17.2. Ejemplos de uso

$ su -c "yum remove --remove-leaves couchdb"
...
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package couchdb.i586 0:0.10.0-1.fc11 set to be erased
--> Finished Dependency Resolution
removing erlang-R12B-5.7.fc11.i586. It is not required by anything else.      
removing libicu-devel-4.0.1-5.fc11.i586. It is not required by anything else.
removing js-1.70-8.fc11.i586. It is not required by anything else.
removing unixODBC-2.2.14-2.fc11.i586. It is not required by anything else.
--> Running transaction check
---> Package erlang.i586 0:R12B-5.7.fc11 set to be erased
---> Package js.i586 0:1.70-8.fc11 set to be erased
---> Package libicu-devel.i586 0:4.0.1-5.fc11 set to be erased
---> Package unixODBC.i586 0:2.2.14-2.fc11 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
 Package           Arch       Version      Repository           Size
===========================================================================
Removing:
 couchdb         i586     0.10.0-1.fc11    installed           1.4 M
 erlang          i586     R12B-5.7.fc11    installed            89 M
 js              i586       1.70-8.fc11    installed           884 k
 libicu-devel    i586      4.0.1-5.fc11    installed           3.0 M
 unixODBC        i586     2.2.14-2.fc11    installed           1.1 M

Transaction Summary
===========================================================================
Remove        5 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]:
Note que este listado de paquetes es exactamente el mismo que cuando realiza la instalaciĆ³n y no tiene las dependencias preinstaladas. Ahora compare con el proceso normal de yum remove:
$ su -c "yum remove  couchdb"
...
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package couchdb.i586 0:0.10.0-1.fc11 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
 Package         Arch         Version      Repository           Size
============================================================================
Removing:
 couchdb         i586     0.10.0-1.fc11   installed             1.4 M

Transaction Summary
============================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: