Skip to content

Commit

Permalink
Explicitly install osbuild-selinux to avoid dependency problems
Browse files Browse the repository at this point in the history
in
https://gitlab.com/redhat/services/products/image-builder/ci/manifest-db/-/jobs/7078915125
I am seeing:

Error:
 Problem 1: problem with installed package selinux-policy-targeted-38.1.12-1.el9.noarch
  - package osbuild-121-1.20240606gitfaaa0bf.el9.noarch requires (osbuild-selinux if selinux-policy-targeted), but none of the providers can be installed
  - package osbuild-selinux-97-1.el9.noarch requires osbuild = 97-1.el9, but none of the providers can be installed
  - cannot install both osbuild-97-1.el9.noarch and osbuild-121-1.20240606gitfaaa0bf.el9.noarch
  - cannot install the best candidate for the job
  - nothing provides selinux-policy >= 38.1.36-1.el9 needed by osbuild-selinux-121-1.20240606gitfaaa0bf.el9.noarch
  - nothing provides selinux-policy-base >= 38.1.36-1.el9 needed by osbuild-selinux-121-1.20240606gitfaaa0bf.el9.noarch
 Problem 2: problem with installed package selinux-policy-38.1.12-1.el9.noarch

where I thought that osbuild-selinux should be pulled in automatically
but for some reason it isn't.

Related: COMPOSER-2227
  • Loading branch information
atodorov committed Jun 13, 2024
1 parent 585681a commit 44470d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schutzbot/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ sudo dnf -y install \
osbuild-luks2 \
osbuild-lvm2 \
osbuild-ostree \
osbuild-selinux \
python3

0 comments on commit 44470d4

Please sign in to comment.