remove an installed rpm during rpm -i

devzero2000 devzero2000 at rpm5.org
Tue Nov 25 12:26:15 UTC 2008


On Mon, Nov 24, 2008 at 8:36 PM, Seth Vidal <skvidal at fedoraproject.org>wrote:

>
>
> On Mon, 24 Nov 2008, Valery Reznic wrote:
>
> > Did you try to use Obsolete tag ?
> >
>
> a couple of things about the whole thread
>
> 1. obsolete does not work when you're rpm -i'ing pkgs. Only rpm -U
>
> 2. modifying the rpmdb from a %post or %pre is an unsafe idea and prone to
> causing things to "end badly".
>

It depends. If Jeff tell it is possible to have an "RPM bundle" (e.g. an rpm
that install rpm(s) itself) then perhaps
it is not so unsafe in first place. I personally have written un rpm that
use yum for pull update.

Regards

>
> -sv
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-list/attachments/20081125/aaaaa4d4/attachment.htm 


More information about the Rpm-list mailing list