Since snapd-selinux-2.71-1.22.noarch, except for version 2.71-1.23, the following error appears every time a snapd and snapd-selinux update is available for openSUSE Tumbleweed in the snappy repo.
Problem: 1: nothing provides 'selinux-policy >= 20251009-1.1' needed by the to be installed snapd-selinux-2.71-1.26.noarch
Solution 1: deinstallation of snapd-selinux-2.71-1.24.noarch
Solution 2: keep obsolete snapd-selinux-2.71-1.24.noarch
Solution 3: break snapd-selinux-2.71-1.26.noarch by ignoring some of its dependencies
It seems that the policy file is not updated as well and we’re forced to select option 2 and keep the obsolete version.
I have already posted a similar message on snapcraft forum but I haven’t received any answer yet.
@Sauerland as I have already written in my post, I do. As a matter of fact, I’m getting a new snapd update from snappy on a daily basis. I really wonder why. I don’t think the developers make changes daily. Another system I use that is running Xubuntu, doesn’t receive snapd updates so often.
@Sauerland because I’m using the phone right now. I’m not on the computer. I know about the version. I wrote the message yesterday and pasted it here today. I got the same error today with 1.27.
“Every day” since when? Hyperbole doesn’t help anyone.
It is clearly building against upstream repos and not released versions of the selinux-policy package. There hasn’t been a release since the 7th so ya, I bet it hasn’t worked for about 5 days now.
But even then, if it’s tracking the upstream repo this will happen regularly, because there is a lag between when upstream updates, that update is accepted, put through openQA and then released. You have to accept that when you enable other repos.
@arvidjaar I know the newer version was 1.27. That’s what I meant. I just didn’t paste today’s error message. I pasted yesterday’s message. The day before yesterday it was 1.25. I’m facing this thing every day since version 1.22.
The message is specific and the correct policy file is missing the same way it was missing yesterday and the day before. If you want, I can paste the new messages every time thay appear.
Something very strange happens in OBS. The snapd for Tumbleweed is built against Tumbleweed version of the selinux-policy. In the log it can be clearly seen:
I got the following responses in the snapcraft forum:
"It’s a known problem that cannot be resolved until snapd enters Factory. The Tumbleweed repositories are built agains openSUSE_Factory, which is what the next snapshot of TW will be. However, there are no repositories of the current snapshot of TW that OBS can use for the build. That’s because the current snapshot had already been published and is de-facto done and shipped.
This will auto-resolve in a few days, once subsequent TW snapshots are published."
And this response:
" And per mailing list sugegstion I’ve split out the i586 repository. The problem should be resolved now, please zypper ref && zypper dup again."
The new 1.28 version got installed successfully indeed.
The flow of packages here is:
download server → openSUSE:Tumbleweed/dod → openSUSE:Tumbleweed/standard → system:snappy/openSUSE_Tumbleweed
The issue here is different architecures don’t publish snapshots at the same time.
I see now system:snappy/openSUSE_Tumbleweed has x86_64 and aarch64. They both get selinux-policy-20251006-1.1 because both have no snapshot published after selinux-policy updated to 20251008. https://factory-dashboard.opensuse.org/
If one of them publishes a snapshot now while the other doesn’t, the architecture with no snapshot published will have this problem again.