Re: 3rd Party Package Dependencies

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

 



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@xxxxxxxxxx
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

--
Joel Andres Granados
Red Hat / Brno, Czech Republic

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux