Installing RPM's inside %post
eu at samircury.eng.br
Mon Jul 5 09:58:55 UTC 2010
Thanks for all your quick help, for now it solved removing the file.
The only issue is that's not just about installing the RPM's, but there's a
python script that installs them and make some checks after(and before) , I
don't think is a good idea to skip them on the script, otherwise a previous
check could fail, as it expects the RPMs not installed. I don't know, but to
do that I may have to mess with the script.
For my luck and overall sanity I can test it when time is not an issue
anymore, I do have an yum repository, having an apache and "createrepo" is
On Mon, Jul 5, 2010 at 4:15 AM, FlorianFesti <ffesti at redhat.com> wrote:
> On 07/04/2010 06:46 PM, Samir Cury wrote:
>> run on %post that actually installs other RPMs
> Don't! The right way of doing this would be setting up a yum repository.
> You can then either set up a comps group or create a meta package containing
> Requires: to the other packages. If you don't want to use any higher level
> tools you can still just use Requires: within a meta package - which will
> require listing them at the CLI or use a manifest file. This is simply a
> textfile listing all the packages that should be installed. RPM can just
> read them in if given at the command line and then opens and installs the
> packages listed there.
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-list