Re: Create a RPM package that install other RPM package!

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

 



On Wed, Mar 04, 2009 at 11:30:16AM -0300, Jorge Pereira wrote:

> 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 add "Requires: adobe-air1" or whatever that package is called
in your rpm.

It is the responsibility of a dependency resolver like yum to pull in
that package.  Rpm itself will refuse to install it (unless you
override that with an option) without adobe-air1 also being installed
(before or in the same transaction).

Actively installing other packages yourself is just "not done" and you
should not want to do that! ;-)

-- 
--    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