Description of problem: - GFS-modules now provides kernel-modules (why?). - Up2date standard has "kernel-modules" in the list of "pkgsToInstallNotUpdate". - So up2date tries to keep the old GFS-modules-6.0.0-15. - But GFS-modules-6.0.0-15 requires GFS-6.0.0-15, that conflicts with the new GFS-6.0.2-12. - So up2date reports a dependency problems and does not update. Version-Release number of selected component (if applicable): 6.0.2-12 How reproducible: Use up2date with the standard configuration and try to update GFS and GFS-modules. Solution: GFS-modules should not provide kernel-modules, as this was in earlier days used for the main kernel package with modules. Another solution could be to let the GFS-modules not require exact the same version of GFS, although this is maybe not recommendable.
We have to have the GFS-modules package provide kernel modules otherwise an up2date could update the GFS-modules, but not the kernel which could potentially cause problems. I'm currently trying to find out the best way to handle updating GFS rpms.
GFS-modules already *does* have a Requires: kernel = ..., so providing kernel-modules does not help anything with *that*. The problem is: GFS can only be upgraded (no multiple installs possible), for GFS-modules you ideally want to be able to have multiple versions installed (like the kernel), but GFS-modules requires the exact same version of GFS. Result: a serious dependency problem :-(. One of the solutions can be to have GFS-modules requires GFS >= %{version} or so, if that's technically ok, so they are not completely bound to each other.
You're correct about the dependency problem. I've fixed the Requires for GFS-modules so they require a GFS rpm >= the GFS-modules rpm. This should fix the dependency problems you were having. This fix is included in GFS-6.0.2-19
I didn't test it, but I think it doesn't: the old GFS-modules still requires the exact same version of GFS, and the new GFS-modules wants the newer version of GFS, so these two GFS-modules can't be installed together. I think the only solution now is to remove kernel-modules *and* include the >= test for the first time, so that the next version of GFS will work ok with kernel-modules added.
If you upgrade to the two latest packages (GFS & GFS-modules) you will be able to have multiple versions of the future GFS-modules installed. And you will not have a problem if up2date upgrades your GFS package. Unfortunately there is no way to change the behavior of the old package, but you should be able to do a rpm -Uvh of the new packages. (or bring them both down with up2date).
The problem is that the "Provides: kernel-modules" and the default setting of up2date (pkgsInstallNotUpdate) make it not possible to upgrade to the GFS and GFS-modules combination via up2date (a rpm -Uvh is possible). But that's already a problem with the currently released version (or didn't you release that yet - I only got the src.rpm). As said, the best way is to first release a package with >= ... and without kernel-modules, and add kernel-modules again in the version after that.
The latest release version should fix this problem. GFS-modules requires a version of GFS >= to the version of GFS-modules.