Skip to content

Commit

Permalink
CI: update potentially stale repo data before trying to install packages
Browse files Browse the repository at this point in the history
  • Loading branch information
fscheiner committed Oct 30, 2024
1 parent 7b156e1 commit dde8a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion travis-ci/run_task_inside_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ elif [[ $TASK == *rpms ]]; then
packages+=(pam libedit libedit-devel)
fi

dnf --allowerasing -y -d1 install "${packages[@]}"
# update potentially stale repo data before trying to install packages
dnf --refresh --allowerasing -y -d1 install "${packages[@]}"

# UID of travis user inside needs to match UID of travis user outside
getent passwd travis > /dev/null || useradd travis -u $TRAVISUID -o
Expand Down

0 comments on commit dde8a51

Please sign in to comment.