From e353a0fe4aaa0af566d2f121496ddf8107c0f696 Mon Sep 17 00:00:00 2001 From: Enrico Usai Date: Tue, 12 Dec 2023 16:49:59 +0100 Subject: [PATCH] rocky-repos must be aligned with rocky-release Error was: ``` yum update -y Error: Problem: package rocky-repos-8.9-1.6.el8.noarch requires system-release = 8.9-1.6.el8, but none of the providers can be installed - cannot install the best update candidate for package rocky-repos-8.8-1.7.el8.noarch - package rocky-release-8.9-1.6.el8.noarch is filtered out by exclude filtering ``` Signed-off-by: Enrico Usai --- cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml b/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml index af58194615..70f61c99f0 100644 --- a/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml +++ b/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml @@ -206,7 +206,7 @@ phases: fi if [[ ${!OS} == "rocky8" ]] ; then - yum versionlock rocky-release + yum versionlock rocky-release rocky-repos elif [[ ${!OS} == "rhel8" ]] ; then yum versionlock redhat-release fi