installing an rpm from another rpm's %post script

devzero2000 pinto.elia at gmail.com
Wed Jan 28 12:48:58 UTC 2009


On Fri, Jan 23, 2009 at 1:05 AM, Derek Atkins <warlord at mit.edu> wrote:

> Hey rpm-ers,
>
> I'm trying to create an RPM package that contains other RPM
> packages and installs those sub-packages as part of the %post
> script.   However when I try this I get a lock failure:
>
> warning: waiting for transaction lock on /var/lib/rpm/__db.000
>
> Is there some way to do a recursive RPM install?
>
> For more details:
>
> When you run "rpm -U foo.rpm" it installs a bunch of RPM files.
> So foo.rpm installs /usr/lib/foo/packages/foo-{1,2,3}.rpm
> Then in the foo.rpm %post script I want to:
>
>  rpm -U foo-1.rpm foo-2.rpm foo-3.rpm
>
> Is there a good way to do this?
>
> Thanks in advance!
>

I hope that, for @rpm.org policy, i can post this ref

http://lists.rpm.org/pipermail/rpm-list/2008-December/000075.html

on the subject.


> -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 at MIT.EDU                        PGP key available
> _______________________________________________
> 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/20090128/e78c0194/attachment.htm 


More information about the Rpm-list mailing list