Re: Create a RPM package that install other RPM package!

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

 



On Wed, 2009-03-04 at 10:06 -0500, Derek Atkins wrote:
> seth vidal <skvidal@xxxxxxxxxxxxxxxxx> writes:
> 
> > On Wed, 2009-03-04 at 11:30 -0300, Jorge Pereira wrote:
> >> Hello Everyone!
> >> 
> >> I have an RPM package for a given application, and this package works
> >> perfectly!
> >> so now I need to make sure this package is a dependency, if not
> >> installed it will
> >> automatically install another RPM package that turns inside the package!
> >> 
> >> Example:
> >> 
> >> i have the RPM "package-001.rpm" that depends of "adobe-air1.xx.rpm",
> >> if package of adboe-air is not installed, i need run eg something like
> >> rpm -ivh /path/install/adobe-air1.xx.rpm
> >> 
> >> just is a some example! i try but don't works becouse the resource is locked by
> >> first instance of "rpm -ivh", this is possible?
> >> 
> >
> > no. It's not possible.
> 
> Actually, I was trying to solve this and I got it to work by
> moving the transaction lock out of the way, performing the secondary
> rpm operation, and then moving the rpm lock back into place.
> 

this falls into the category of extraordinarily bad ideas. Seriously,
don't encourage others to break the transaction lock.

-sv


_______________________________________________
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