rpm seems to be unwilling to install a package, thinking it conflicts itself! This used to work in earlier versions of Red Hat. # rpm -Uvh htmldoc-nogui-1.8.23-1.rh8.0.i386.rpm error: Failed dependencies: htmldoc conflicts with htmldoc-nogui-1.8.23-1.rh8.0 # rpm -q htmldoc package htmldoc is not installed # rpm -q --whatprovides htmldoc no package provides htmldoc # rpm -q --provides -p htmldoc-nogui-1.8.23-1.rh8.0.i386.rpm htmldoc htmldoc-nogui = 1.8.23-1.rh8.0 # rpm -q --conflicts -p htmldoc-nogui-1.8.23-1.rh8.0.i386.rpm htmldoc # rpm -q rpm rpm-4.1-1.06 The package I am trying to install can be d/l'ed at http://rpm.nogin.org/MetaPRL/rh80/htmldoc-nogui-1.8.23-1.rh8.0.i386.html P.S. rpm --rebuilddb does not help.
Your conflicts is mis-written, expressing Conflict with all versions of htmldoc.
Exactly, htmldoc-nogui conflicts with any version of htmldoc. But htmldoc-nogui is *not* htmldoc, it just provides it. Again, this used to work before.
Again, you have a Provides: in htmldoc-nogui # rpm -q --provides -p htmldoc-nogui-1.8.23-1.rh8.0.i386.rpm htmldoc ... that is triggering the conflict. Don't do that.
OK, how then do I create a package htmldoc-nogui that has the following properties: 1) Any package that requires htmldoc, should install happily when htmldoc-nogui is installed. 2) htmldoc-nogui conflicts htmldoc. Note: this used to be possible with previous versions of RPM! I could remove the Conflicts from the spec and rely on file conflicts, but that just does not seem right...