yum/dnf update fails with "cannot install the best update candidate for package flatpak-selinux"
Issue
yum/dnf update
on a system with flatpak packages installed, fails with the below error.
Error: Problem 1: cannot install the best update candidate for package flatpak-selinux-1.6.2-4.el8.noarch - nothing provides selinux-policy >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch - nothing provides selinux-policy-base >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch Problem 2: package flatpak-1.6.2-5.el8_3.x86_64 requires (flatpak-selinux = 1.6.2-5.el8_3 if selinux-policy-targeted), but none of the providers can be installed - cannot install the best update candidate for package selinux-policy-targeted-3.14.3-54.el8.noarch - cannot install the best update candidate for package flatpak-1.6.2-4.el8.x86_64 - nothing provides selinux-policy >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch - nothing provides selinux-policy-base >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch Problem 3: problem with installed package selinux-policy-targeted-3.14.3-54.el8.noarch - package flatpak-1.6.2-5.el8_3.x86_64 requires (flatpak-selinux = 1.6.2-5.el8_3 if selinux-policy-targeted), but none of the providers can be installed - package gnome-software-3.36.1-4.el8.x86_64 requires flatpak(x86-64) >= 0.9.4, but none of the providers can be installed - package flatpak-1.6.2-4.el8.x86_64 requires flatpak-session-helper(x86-64) = 1.6.2-4.el8, but none of the providers can be installed - package flatpak-1.6.2-2.el8.x86_64 requires flatpak-session-helper(x86-64) = 1.6.2-2.el8, but none of the providers can be installed - package flatpak-1.6.2-3.el8_2.x86_64 requires flatpak-session-helper(x86-64) = 1.6.2-3.el8_2, but none of the providers can be installed - cannot install both flatpak-session-helper-1.6.2-5.el8_3.x86_64 and flatpak-session-helper-1.6.2-4.el8.x86_64 - package flatpak-session-helper-1.6.2-5.el8_3.x86_64 conflicts with flatpak < 1.4.1-2 provided by flatpak-1.0.6-2.el8.x86_64 - package flatpak-session-helper-1.6.2-5.el8_3.x86_64 conflicts with flatpak < 1.4.1-2 provided by flatpak-1.0.6-3.el8_0.x86_64 - package flatpak-session-helper-1.6.2-5.el8_3.x86_64 conflicts with flatpak < 1.4.1-2 provided by flatpak-1.0.6-4.el8.x86_64 - package flatpak-session-helper-1.6.2-5.el8_3.x86_64 conflicts with flatpak < 1.4.1-2 provided by flatpak-1.0.9-2.el8_1.x86_64 - package flatpak-session-helper-1.6.2-5.el8_3.x86_64 conflicts with flatpak < 1.4.1-2 provided by flatpak-1.0.9-1.el8_1.x86_64 - cannot install both flatpak-session-helper-1.6.2-5.el8_3.x86_64 and flatpak-session-helper-1.6.2-2.el8.x86_64 - cannot install both flatpak-session-helper-1.6.2-5.el8_3.x86_64 and flatpak-session-helper-1.6.2-3.el8_2.x86_64 - cannot install the best update candidate for package gnome-software-3.36.1-4.el8.x86_64 - cannot install the best update candidate for package flatpak-session-helper-1.6.2-4.el8.x86_64 - nothing provides selinux-policy >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch - nothing provides selinux-policy-base >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch (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)
yum/dnf install flatpak
fails with the below error.
Problem: problem with installed package selinux-policy-targeted-3.14.3-54.el8.noarch - package flatpak-1.6.2-5.el8_3.x86_64 requires (flatpak-selinux = 1.6.2-5.el8_3 if selinux-policy-targeted), but none of the providers can be installed - cannot install the best candidate for the job - nothing provides selinux-policy >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch - nothing provides selinux-policy-base >= 3.14.3-54.el8_3.2 needed by flatpak-selinux-1.6.2-5.el8_3.noarch
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.