Skip to content

Commit ca9f93c

Browse files
Johan-Liebert1cgwalters
authored andcommitted
Add --allowerasing for dnf to replace conflicting pkgs
To fix CI for C9S failing with ``` installed - cannot install both policycoreutils-3.6-2.1.el9.x86_64 from baseos and policycoreutils-3.6-7.el9.x86_64 from @System - cannot install both policycoreutils-3.6-3.el9.x86_64 from baseos and policycoreutils-3.6-7.el9.x86_64 from @System - cannot install both policycoreutils-3.6-4.el9.x86_64 from baseos and policycoreutils-3.6-7.el9.x86_64 from @System - cannot install both policycoreutils-3.6-5.el9.x86_64 from baseos and policycoreutils-3.6-7.el9.x86_64 from @System - cannot install both policycoreutils-3.6-6.el9.x86_64 from baseos and policycoreutils-3.6-7.el9.x86_64 from @System ``` Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
1 parent 3e15bcf commit ca9f93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/provision-derived.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ case "${ID}-${VERSION_ID}" in
4848
esac
4949

5050
# Extra packages we install
51-
grep -Ev -e '^#' packages.txt | xargs dnf -y install
51+
grep -Ev -e '^#' packages.txt | xargs dnf install --allowerasing -y
5252

5353
# Cloud bits
5454
cat <<KARGEOF >> /usr/lib/bootc/kargs.d/20-console.toml

0 commit comments

Comments
 (0)