Re: RPM installation order

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

 



Mamoru Tasaka wrote, at 12/01/2009 02:51 AM +9:00:
Jerry James wrote, at 12/01/2009 02:29 AM +9:00:
I'm looking into a gcl bug (I maintain gcl):
https://bugzilla.redhat.com/show_bug.cgi?id=541050.

The problem appears to be that the order of RPM installation is
unpredictable.  There is a subpackage, gcl-selinux, which provides
policy files for use by other packages that build executables with
gcl.  That package installs a policy, gcl.pp, and then does this in
%post:

/usr/sbin/semodule -i %{_datadir}/selinux/packages/gcl/gcl.pp || :
/sbin/fixfiles -R gcl restore || :

This works great when the main gcl package is installed first,
followed by the gcl-selinux package.  However, sometimes RPM installs
them in the other order.

Umm, I checked F-12 gcl.spec and there is no such Requires relation
between two packages (i.e. -selinux subpackage does not have
"Requires: %{name} = %{version}-%{release}" or so), so it is natural
that the order is inpredictable.

Ah, rather gcl package has "Requires: gcl-selinux = %{version}-%{release}",
so currently I am not sure what you want.

Mamoru

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux