From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1)
Description of problem:
The "Obsoletes: modules" line in the modutils rpm is causing problems
when an rpm called "modules" (which is not related to kernel modules)
My systems use a package called modules that is used for manipulating
a user's environment (http://modules.sourceforge.net). This is
installed as an rpm by the same name. However, the modutils spec file
contains a line that obsoletes modules, presumably an older version of
the kernel module related utilities which was packaged under the
When running up2date, the program reported that modutils-2.4.25-11.EL
needed to be installed even though it already was. If the modutils
package was included in the updates, the update process then failed
because it determined that modutils was already installed. One work
around was to simply deselect the modutils update every time that I
ran up2date. In an attempt to avoid doing this every time, I
re-installed the modutils rpm (thinking that perhaps the rpm database
had an error and that re-installing would force the proper information
into it). This caused my installed modules rpm to be erased without
There are really a couple of thing at work here (which might not
exactly make this a modutils bug):
1) modutils obsoletes a package that is not even part of RedHat's set
of packages to begin with.
2) rpm has no good way of distinguishing packages other than by name
with no regard to content or group.
3) rpm will erase an obsoleted package with absolutely no indication
or warning that it is doing so.
I am not sure what the best course of action is. I could rename the
modules rpm I use, but that kind of defeats the point of having the
rpm package name match the software name. But perhaps a better
temporary fix would be to remove the "Obsoletes" tag from the modutils
rpm. And a better long-term fix would be to modify rpm's handling of
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install any rpm package called "modules"
2.Install or upgrade the modutils rpm
Actual Results: The modules rpm will be erased.
Expected Results: modules rpm should remain, or at least be warned
that is will be erased so that action can be aborted.
Removed for future builds.
It's going to break upgrades from RHL 4.2, though. :)
Will be in modutils-2.4.25-13.EL or later, if that's built.