Rocky Linux 9.8 update xrdp broken

When I try to upgrade from Rocky Linux 9.7 with xrdp server and xrdp-selinux installed (both at version 0.10.6-1.el9) from epel, I run into an error message:

Error:
Problem 1: cannot install the best update candidate for package xrdp-selinux-1:0.10.6-1.el9.x86_64

  • nothing provides selinux-policy >= 38.1.75-2.el9_8 needed by xrdp-selinux-1:0.10.6-2.el9.x86_64 from epel

Problem 2: package xrdp-selinux-1:0.10.6-1.el9.x86_64 from @System requires xrdp = 1:0.10.6-1.el9, but none of the providers can be installed

  • cannot install both xrdp-1:0.10.6-2.el9.x86_64 from epel and xrdp-1:0.10.6-1.el9.x86_64 from @System
  • problem with installed package xrdp-selinux-1:0.10.6-1.el9.x86_64
  • cannot install the best update candidate for package xrdp-1:0.10.6-1.el9.x86_64
  • nothing provides selinux-policy >= 38.1.75-2.el9_8 needed by xrdp-selinux-1:0.10.6-2.el9.x86_64 from epel
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Upgrading Rocky with “dnf update --nobest” works, but remains xrdp on the old version. But the error is still there. It seems, that Rocky 9.8 upgraded selinux-policy to 38.1.75-2.el9 but xrdp wants 38.1.75-2.el9_8 which in not in the Rocky Repositories.

What can I do to solve that problem?

About the only thing would be to open a bug report with Rocky to fix their package names. In RH9 the package is 38.1.75-2.el9_8 so it should be the same in Rocky as well which as we can see it’s not.

No idea why the naming convention isn’t the same for Rocky packages, but it’s not the first time it’s occurred.

I created Red Hat bugizlla 2484288. to maybe fix it at the package level.