0

I prepared custom package platform-6-1.2.3-1.x86_64.

I want it to be conflicting with every OTHER plat-6 package installed in the system. Files of the package are not conflicting with the others plat-6 packages.

So I filled in spec file with:

Name: platform-6
Provides: plat-6
Conflicts: plat-6

Now, when I install the package on the system, sometimes I get this:

** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
platform-6-1.2.3-1.x86_64 has installed conflicts plat-6: platform-6-1.2.3-1.x86_64
Error: check all
mighq
  • 355
  • 3
  • 11

1 Answers1

0

I think the issue is

Provides: plat-6

You are making it conflict with itself.

EDIT:

Try

Conflicts:          plat-6 < %{version}
Mike
  • 21,910
  • 7
  • 55
  • 79