diff --git a/centos2rocky.sh b/centos2rocky.sh index a8d2f0d..a55d0a5 100644 --- a/centos2rocky.sh +++ b/centos2rocky.sh @@ -74,8 +74,8 @@ generate_rpm_info() { package_swaps() { rpm -e --nodeps "${packages_to_swap[@]}" - rpm -ihv ${current_url}/${SUPPORTED_RELEASE}/BaseOS/x86_64/os/Packages/rocky-release-${SUPPORTED_RELEASE}-1.el8.x86_64.rpm \ - ${current_url}/${SUPPORTED_RELEASE}/BaseOS/x86_64/os/Packages/rocky-repos-${SUPPORTED_MAJOR}-1.el8.x86_64.rpm + rpm -ihv ${current_url}/${SUPPORTED_RELEASE}/BaseOS/x86_64/os/Packages/rocky-release-${SUPPORTED_RELEASE}-11.el8.x86_64.rpm \ + ${current_url}/${SUPPORTED_RELEASE}/BaseOS/x86_64/os/Packages/rocky-repos-${SUPPORTED_MAJOR}-11.el8.x86_64.rpm if [ $? -eq 0 ]; then echo "Removing dnf cache" rm -rf /var/cache/{yum,dnf}