Equivalent of apt-get purge for yum

Mike hijinks at gmail.com
Fri Feb 12 02:23:31 UTC 2010


rpm -e will not remove anything with %config in the spec file.. so that is
now what he wants.. he wants something to remove everything the rpm
installed via yum which i don't think you can do

http://serverfault.com/questions/41502/yum-equivalent-of-apt-get-purge

On Thu, Feb 11, 2010 at 6:16 PM, Adam Miller
<maxamillion at fedoraproject.org>wrote:

> I don't entirely know if this is the answer you're looking for but I
> don't think you will get exact translation in functionality because
> apt-get purge will actually remove configuration files even if they
> have been edited where as if a file is marked with %config(noreplace)
> in the spec file of a package then rpm is not to remove it if it has
> been modified. There *might* be a way around this but I'm not aware of
> one.
>
> -AdamM
>
> --
> http://maxamillion.googlepages.com
> ---------------------------------------------------------
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list