Skip to content

Commit

Permalink
There is conflicting rpm packages add --nobest flag
Browse files Browse the repository at this point in the history
This flag ignores updating packages to the newest
that are conflicting. This allows running dev-env
even when some pakcages might be conflicting as
this is not directly in our control.

Signed-off-by: NymanRobin <robin.nyman@est.tech>
  • Loading branch information
NymanRobin committed May 8, 2024
1 parent a3f1cbf commit 8686655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 01_prepare_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [[ "${OS}" = "ubuntu" ]]; then
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
fi
elif [[ "${OS}" = "centos" ]] || [[ "${OS}" = "rhel" ]]; then
sudo dnf upgrade -y
sudo dnf upgrade -y --nobest
case "${VERSION_ID}" in
8)
sudo dnf config-manager --set-enabled powertools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
dnf:
name: "*"
state: latest
nobest: true
become: yes

- name: Install podman
Expand Down

0 comments on commit 8686655

Please sign in to comment.