Re: remove an installed rpm during rpm -i

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

 



Did you try to use Obsolete tag ?

Valery


--- On Mon, 11/24/08, Barry R Cisna <brcisna@xxxxxxxxxxxxx> wrote:

> From: Barry R Cisna <brcisna@xxxxxxxxxxxxx>
> Subject: remove an installed rpm during rpm -i
> To: rpm-list@xxxxxxxxxxxxx
> Date: Monday, November 24, 2008, 8:13 PM
> Hello List,
> 
> I've looked high and low and all the .spec file
> examples do not show how
> to do this IF it is at all possible. How could I do an
> .spec file entry ,
> possibly
> %pre   --- something
> to parse the rpm database and if a particular rpm is found
> to be installed
> it will be uninstalled during the rpm install process? This
> is so my
> rpmbuild/ rpm -ivh does not conflict with a few already
> exsiting /bin
> files.
> I am rolling a few binaries  into my rpm that would
> conflict with already
> installed .rpm. I'm just trying to make this as
> streamlined as possible.
> 
> Thanks,
> Barry
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list


      
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux