Re: differrence between 'yum remove' and 'yum erase'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christofer C. Bell wrote:
> 
> I agree. This can certainly be a cause for confusion for users coming
> from Debian (or Ubuntu, etc) where there's a distinct difference
> between erase and purge. It seems yum's interpretation of either
> remove or erase is the same as apt's purge option, while apt's erase
> option ... isn't an option with yum. 
> 
> erase - Remove all package files saves those that are marked as
> configuration, allowing the administrator to reinstall the package
> later with configuration already in place.
> 
> purge - Completely remove all package files, including those marked
> as configuration files. 

I disagree.  The documentation is clear and, as Rahul pointed out, removing a command would break backwards compatibility.

Yum is also careful not to completely remove configuration files that have been edited.  Upon package removal, any configuration files that have been edited are saved with ".rpmsave" appended to the original filename.  Apt may provide a different implementation, but the functionality itself is very similar.

Regards,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux