From edac37608b30b3949d1147934e94f138612bfb87 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Wed, 4 Oct 2023 15:31:54 +0530 Subject: [PATCH] update packages just in case the cache is old --- includes/post/rpm-repos-enable.ksi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/post/rpm-repos-enable.ksi b/includes/post/rpm-repos-enable.ksi index 416bb7e..8d3e025 100644 --- a/includes/post/rpm-repos-enable.ksi +++ b/includes/post/rpm-repos-enable.ksi @@ -48,6 +48,10 @@ if dnf list installed | grep "kernel-next-tfg\|kernel-rc-tfg" > /dev/null; then fi fi +# upgrade all packages for the user's happy smile +dnf clean expire-cache +dnf upgrade -y + # Remove the temporary 'resolv.conf' file rm -v -f /etc/resolv.conf