Re: install rpm within an rpm package pre or post install?

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

 



On Thu, Nov 04, 2004 at 09:44:48AM -0800, Mark wrote:
> Hi,
> Can you install an rpm within an rpm package install, e.g. as part of
> the pre-install or post-install? If yes, is this trivial or documented
> somewhere?
> 
> OS: fully patched RH7.3
> rpm version: rpm-4.0.4-7x.18
> Thanks
> 

The basic answer is: yes, but only with rpm-4.1 or later.

Even then it's caveat emptor, I believe I'm the only one who has tried
to do what I call "package bundles", i.e. executing rpm -Uvh in %post
and rpm -evh in %preun for some manifest of *.rpm's within a package
bundle.

Note that you almost certainly want to add
    Requires: rpmlib(ConcurrentAccess) = 4.1-1
or your package bundle install can/will hang on older versions of rpm.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@xxxxxxxxxx (jbj@xxxxxxx)
Chapel Hill, NC

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/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