<div class="gmail_quote">On Wed, Mar 4, 2009 at 4:34 PM, Derek Atkins <span dir="ltr">&lt;<a href="mailto:warlord@mit.edu">warlord@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Quoting seth vidal &lt;<a href="mailto:skvidal@fedoraproject.org" target="_blank">skvidal@fedoraproject.org</a>&gt;:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 2009-03-04 at 10:06 -0500, Derek Atkins wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
seth vidal &lt;<a href="mailto:skvidal@fedoraproject.org" target="_blank">skvidal@fedoraproject.org</a>&gt; writes:<br>
<br>
&gt; On Wed, 2009-03-04 at 11:30 -0300, Jorge Pereira wrote:<br>
&gt;&gt; Hello Everyone!<br>
&gt;&gt;<br>
&gt;&gt; I have an RPM package for a given application, and this package works<br>
&gt;&gt; perfectly!<br>
&gt;&gt; so now I need to make sure this package is a dependency, if not<br>
&gt;&gt; installed it will<br>
&gt;&gt; automatically install another RPM package that turns inside the package!<br>
&gt;&gt;<br>
&gt;&gt; Example:<br>
&gt;&gt;<br>
&gt;&gt; i have the RPM &quot;package-001.rpm&quot; that depends of &quot;adobe-air1.xx.rpm&quot;,<br>
&gt;&gt; if package of adboe-air is not installed, i need run eg something like<br>
&gt;&gt; rpm -ivh /path/install/adobe-air1.xx.rpm<br>
&gt;&gt;<br>
&gt;&gt; just is a some example! i try but don&#39;t works becouse the resource is locked by<br>
&gt;&gt; first instance of &quot;rpm -ivh&quot;, this is possible?<br>
&gt;&gt;<br>
&gt;<br>
&gt; no. It&#39;s not possible.<br>
<br>
Actually, I was trying to solve this and I got it to work by<br>
moving the transaction lock out of the way, performing the secondary<br>
rpm operation, and then moving the rpm lock back into place.<br>
<br>
</blockquote>
<br>
this falls into the category of extraordinarily bad ideas. Seriously,<br>
don&#39;t encourage others to break the transaction lock.<br>
</blockquote>
<br></div>
If RPM supported it natively I wouldn&#39;t have to.   But I&#39;m distributing<br>
third-party software that&#39;s in multiple RPMs but I want my users to<br>
only have to manually download a single file.  I have limited options.<br>
My choices are:<br>
<br>
1) a shar-like self-extracting archive that contains and installs the<br>
  necessary RPMS, or<br>
2) an RPM that contains and installs additional RPMs.<br>
<br>
Saying &quot;use yum&quot; just doesn&#39;t solve the problem I&#39;m trying to solve.<br>
But between these choices I prefer options 2.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-sv<br>
</blockquote>
<br>
-derek<br>
</div></blockquote><div><br>Un RPM PACKAGE BUNDLE example included. It WORKFORME.<br><br>[machbuild@rhel5 SPECS]$su -c &quot;rpm -Uvh  /home/machbuild/rpmbuild/RPMS/rpm-package-bundle-1.0-1.noarch.rpm&quot;<br>Preparazione in corso...    ########################################### [100%]<br>
   1:rpm-package-bundle     ########################################### [100%]<br>[machbuild@rhel5 SPECS]$ rpm -q A<br>A-1.0-1<br>[machbuild@rhel5 SPECS]$ rpm -q B<br>B-1.0-1<br>[machbuild@rhel5 SPECS]$ su -c &quot;rpm -e rpm-package-bundle&quot;<br>
[machbuild@rhel5 SPECS]$ rpm -q rpm-package-bundle<br>package rpm-package-bundle is not installed<br>[machbuild@rhel5 SPECS]$<br>[machbuild@i858shlf SPECS]$ rpm -q A<br>package A is not installed<br>[machbuild@i858shlf SPECS]$ rpm -q B<br>
package B is not installed<br><br><br>hth<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
-- <br>
      Derek Atkins, SB &#39;93 MIT EE, SM &#39;95 MIT Media Laboratory<br>
      Member, MIT Student Information Processing Board  (SIPB)<br>
      URL: <a href="http://web.mit.edu/warlord/" target="_blank">http://web.mit.edu/warlord/</a>    PP-ASEL-IA     N1NWH<br>
      <a href="mailto:warlord@MIT.EDU" target="_blank">warlord@MIT.EDU</a>                        PGP key available<br>
<br>
_______________________________________________<br></div><div><div></div><div class="h5">
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org" target="_blank">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
</div></div></blockquote></div><br>