Re: Installing RPM's inside %post

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

 



Hi all,

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 great hehehe.

Cheers,
Samir


On Mon, Jul 5, 2010 at 4:15 AM, FlorianFesti <ffesti@xxxxxxxxxx> 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.

Florian

_______________________________________________
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