Trouble installing snapd on Centos 8

There is problem to install snapd on the latest centos 8, here is the error:
root@# dnf install snapd
Last metadata expiration check: 1:15:00 ago on Mon 25 Nov 2019 03:02:52 AM EST.
Error:
Problem: package snapd-2.42.1-1.el8.x86_64 requires snapd-selinux = 2.42.1-1.el8, but none of the providers can be installed

  • conflicting requests
  • nothing provides selinux-policy-base >= 3.14.3-20.el8 needed by snapd-selinux-2.42.1-1.el8.noarch
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

[root@]# rpm -qa | grep selinux
python3-libselinux-2.8-6.el8.x86_64
rpm-plugin-selinux-4.14.2-11.el8_0.x86_64
container-selinux-2.94-1.git1e99f1d.module_el8.0.0+58+91b614e7.noarch
libselinux-utils-2.8-6.el8.x86_64
selinux-policy-targeted-3.14.1-61.el8_0.2.noarch
libselinux-2.8-6.el8.x86_64
selinux-policy-3.14.1-61.el8_0.2.noarch

Can anyone check this looks like it need newer selinux-policy that is available?

Thank you.

Hello,

Same error here.

The trouble is, EPEL packages, including snapd, are built against RHEL8. However, CentOS is lagging with the updates at this point. Even though the relevant package from RHEL was clearly rebuilt https://koji.mbox.centos.org/koji/buildinfo?buildID=5028 it wasn’t pushed to the distro. It’s probably best if you inquire in CentOS related IRC channels or mailing lists as to when the update push might happen.