Quoting seth vidal <skvidal@xxxxxxxxxxxxxxxxx>:
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.
If RPM supported it natively I wouldn't have to. But I'm distributing
third-party software that's in multiple RPMs but I want my users to
only have to manually download a single file. I have limited options.
My choices are:
1) a shar-like self-extracting archive that contains and installs the
necessary RPMS, or
2) an RPM that contains and installs additional RPMs.
Saying "use yum" just doesn't solve the problem I'm trying to solve.
But between these choices I prefer options 2.
-sv
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@xxxxxxx PGP key available
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list