3rd Party Package Dependencies

Pablo Iranzo Gómez Pablo.Iranzo at redhat.com
Mon Mar 10 10:57:47 UTC 2008


	Sorry, but as we were talking about virtual RPM, I asumed that you were
referring to the %post in RPM, not the %post in Kickstart ;)

	Regards
	Pablo

El lun, 10-03-2008 a las 11:38 +0100, Joel Andres Granados escribió:
> Pablo Iranzo Gómez wrote:
> > 	Wouldn't that keep the RPM database locked by the package being
> > installed and running %post scripts?
> 
> AFAK the only thing you need to make sure for this approach to work is for all the dependencies to be in the system before %post.  Don't know much about the internals of rpm database, but I would assume, for consistency purposes, that at install time the data base locks.  So when you do the `rpm -ihv ...` the database is locked.  however, This does not disallow you to install with the rpm command in the %post section.
> 
> > 
> > 	Regards
> > 	Pablo
> > 
> > El lun, 10-03-2008 a las 10:40 +0100, Joel Andres Granados escribió:
> >> Seidel Peter wrote:
> >>> Hello,
> >>>
> >>> I'm currently trying to set up a RHEL5 kickstart installation for our company.
> >>>
> >>> Everything work fine so far, but I have a Problem with the dependencies of 3rd Party Packages(.rpm/closed source) like VMware Player or Vnc-E. The dependencies aren't set probably by the Distributors. Result is, that the Packages, which are running some shell scripts, are getting installed even before Coreutils and that goes terribly wrong.
> >>>
> >>> So, is there any possibility to change the Package installation order, or any other suggestions?
> >>>
> >>> I already tried to make a meta Package, which is an empty package that just have dependencies with coreutils and VMware, than take the Vmware Package out of the kickstart(.ks) file. But it didn't work the VMware still installed too early.
> >>>
> >>> Thank you all in advance
> >>>
> >>> Peter
> >>>
> >>> _______________________________________________
> >>> Kickstart-list mailing list
> >>> Kickstart-list at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/kickstart-list
> >> You can use kickstarts %post section:
> >>
> >> %post
> >>
> >> wget http://path/to/vmware/package.rpm
> >> wget http://path/to/vnc/package.rpm
> >>
> >> rpm -ihv *.rpm
> >>
> >> Just an idea :)
> >>
> >> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Kickstart-list mailing list
> >> Kickstart-list at redhat.com
> >> https://www.redhat.com/mailman/listinfo/kickstart-list
> 
-- 

Pablo Iranzo Gómez (Pablo.Iranzo at redhat.com)
RHCE/Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D
---
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje est? firmada	digitalmente
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080310/9589a686/attachment.sig>


More information about the Kickstart-list mailing list