Re: installing an rpm from another rpm's %post script

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

 



On Fri, Jan 23, 2009 at 1:05 AM, Derek Atkins <warlord@xxxxxxx> 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@xxxxxxx                        PGP key available
_______________________________________________
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