From 2b65c1498d856b1427871b777f77c9493807c93c Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 16 Mar 2023 15:45:04 -0400 Subject: [PATCH] Force package update before syncing the repo --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 70562fcf8..5a9af8000 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1987,7 +1987,7 @@ repo_sync_local() { logCmd "dnf repolist" info "This is trying to work" logCmd "dnf -c /root/repodownload.conf -y upgrade --allowerasing" - info "There should be an update here + info "There should be an update here" # Make sure we can get to the sig repo logCmd "curl --retry 5 --retry-delay 60 -A 'gridinstall/$SOVERSION/$OS/$(uname -r)/1' https://sigs.securityonion.net/checkup --output /tmp/checkup" logCmd "dnf reposync --norepopath -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/"