On Saturday, October 18, 2014 11:16:30 PM jd1008 wrote: > Also, having used yum erase, I have had catastrophic consequences, > because yum will remove dependencies also, which other packages > which you might not want removed. > > For example, just try to > > yum erase bash > > and see what happens
Removing bash would obviously lead to catastrophic consequences. yum remove or yum erase are safe in my opinion. I also use "clean_requirements_on_remove". "The clean_requirements_on_remove configuration changes the behaviour of this command to also remove packages that are only dependencies of this package." Here is the difference. yum remove won't remove dependencies unless you use something like clean_requirements_on_remove or remove_leaf_only. Dependencies Resolved ======================================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================================== Removing: google-chrome-stable x86_64 38.0.2125.104-1 @/google-chrome-stable_current_x86_64 173 M Transaction Summary ======================================================================================================================================================================== Remove 1 Package And when using clean_requirements_on_remove Dependencies Resolved ======================================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================================== Removing: google-chrome-stable x86_64 38.0.2125.104-1 @/google-chrome-stable_current_x86_64 173 M Removing for dependencies: gdbm-devel x86_64 1.10-7.fc20 @fedora 42 k libdb-devel x86_64 5.3.28-1.fc20 @fedora 126 k libpng12 x86_64 1.2.50-6.fc20 @updates 442 k perl-B-Lint noarch 1.17-291.fc20 @fedora 31 k perl-CGI noarch 3.64-1.fc20 @updates 700 k perl-CPAN noarch 2.00-290.fc20 @updates 758 k perl-Class-ISA noarch 0.36-1012.fc20 @fedora 13 k perl-Digest-SHA x86_64 1:5.85-5.fc20 @updates 110 k perl-Env noarch 1.04-291.fc20 @fedora 27 k perl-ExtUtils-Install noarch 1.59-290.fc20 @updates 74 k perl-ExtUtils-MakeMaker noarch 6.72-3.fc20 @updates 640 k perl-ExtUtils-Manifest noarch 1.63-1.fc20 @fedora 84 k perl-ExtUtils-ParseXS noarch 1:3.18-292.fc20 @updates 174 k perl-FCGI x86_64 1:0.74-10.fc20 @fedora 87 k perl-File-CheckTree noarch 4.42-291.fc20 @fedora 29 k perl-Locale-Codes noarch 3.26-3.fc20 @fedora 2.1 M perl-Locale-Maketext noarch 1.25-1.fc20 @updates 169 k perl-Module-Pluggable noarch 1:4.80-292.fc20 @updates 54 k perl-Pod-Checker noarch 1.60-291.fc20 @fedora 59 k perl-Pod-LaTeX noarch 0.61-292.fc20 @fedora 84 k perl-Pod-Parser noarch 1.61-3.fc20 @fedora 271 k perl-Pod-Plainer noarch 1.03-6.fc20 @fedora 5.7 k perl-Sys-Syslog x86_64 0.33-4.fc20 @fedora 93 k perl-Test-Simple noarch 1.001002-1.fc20 @fedora 404 k perl-Text-Soundex x86_64 3.04-291.fc20 @fedora 29 k perl-Text-Unidecode noarch 0.04-21.fc20 @fedora 397 k perl-XML-LibXML x86_64 1:2.0105-1.fc20 @fedora 968 k perl-XML-NamespaceSupport noarch 1.11-12.fc20 @fedora 28 k perl-XML-SAX noarch 0.99-11.fc20 @fedora 125 k perl-XML-SAX-Base noarch 1.08-10.fc20 @fedora 176 k perl-autodie noarch 2.20-4.fc20 @fedora 181 k perl-devel x86_64 4:5.18.4-290.fc20 @updates 1.9 M pyparsing noarch 2.0.1-1.fc20 @fedora 372 k qt3 x86_64 3.3.8b-58.fc20 @updates 11 M redhat-lsb x86_64 4.1-21.1.fc20 @updates 0.0 redhat-lsb-core x86_64 4.1-21.1.fc20 @updates 45 k redhat-lsb-cxx x86_64 4.1-21.1.fc20 @updates 0.0 redhat-lsb-desktop x86_64 4.1-21.1.fc20 @updates 0.0 redhat-lsb-languages x86_64 4.1-21.1.fc20 @updates 814 redhat-lsb-printing x86_64 4.1-21.1.fc20 @updates 0.0 redhat-lsb-submod-multimedia x86_64 4.1-21.1.fc20 @updates 0.0 redhat-lsb-submod-security x86_64 4.1-21.1.fc20 @updates 0.0 smartmontools x86_64 1:6.2-6.fc20 @updates 1.5 M spax x86_64 1.5.2-8.fc20 @fedora 590 k ssmtp x86_64 2.64-11.fc20 @updates 75 k systemtap-sdt-devel x86_64 2.6-2.fc20 @updates 152 k wget x86_64 1.14-12.fc20 @updates 2.0 M Transaction Summary ======================================================================================================================================================================== Remove 1 Package (+47 Dependent packages) Regards, Sudhir. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org