Re: Installing RPM's inside %post

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

 



On Sun, Jul 04, 2010 at 01:46:49PM -0300, Samir Cury wrote:

> I was having a problem when automating a software install via RPM, it is due
> to a python script that I run on %post that actually installs other RPMs,
> but it seems that for obvious reasons, when the script attempt to install
> the RPMs it fail because the lock is still there (the father RPM is still
> being installed) the install never goes on :

You just should not do (or want to do) this.

Add the needed rpm tpo as a "Required:" header in your spec file.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
_______________________________________________
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