mh_le
June 8, 2025, 2:03pm
21
This is rather mysterious…
$ sudo dnf update grub2-pc
Last metadata expiration check: 0:01:06 ago on Sun 08 Jun 2025 03:59:38 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!
$ sudo dnf update grub2-efi-x64
Last metadata expiration check: 0:01:23 ago on Sun 08 Jun 2025 03:59:38 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!
Perhaps try a:
dnf clean all
and also check your files under /etc/yum.repos.d/ and make sure you are using the mirrorlist urls for baseos and appstream.
Another easier way would be to do:
dnf reinstall rocky-repos
and then if there are any .rpmnew files in /etc/yum.repos.d then replace the existing .repo files with the .repo.rpmnew ones.
mh_le
June 8, 2025, 2:35pm
23
When reinstalling rocky-repos it was replaced with the 9.6 version, but there was no change when running dnf update.
If you are not seeing grub2-pc or grub2-efi-x86 packages at 9.6 versions, then you have mirror issues.
root@rocky9:~# dnf list grub2*
Last metadata expiration check: 1:20:41 ago on Sun 08 Jun 2025 03:16:58 PM CEST.
Installed Packages
grub2-common.noarch 1:2.06-104.el9_6 @baseos
grub2-efi-x64.x86_64 1:2.06-104.el9_6 @baseos
grub2-tools.x86_64 1:2.06-104.el9_6 @baseos
grub2-tools-efi.x86_64 1:2.06-104.el9_6 @baseos
grub2-tools-extra.x86_64 1:2.06-104.el9_6 @baseos
grub2-tools-minimal.x86_64 1:2.06-104.el9_6 @baseos
Available Packages
grub2-efi-aa64-modules.noarch 1:2.06-104.el9_6 baseos
grub2-efi-x64-cdboot.x86_64 1:2.06-104.el9_6 baseos
grub2-efi-x64-modules.noarch 1:2.06-104.el9_6 baseos
grub2-pc.x86_64 1:2.06-104.el9_6 baseos
grub2-pc-modules.noarch 1:2.06-104.el9_6 baseos
also check the contents of /etc/dnf/dnf.conf
for any excludes.
mh_le
June 8, 2025, 2:43pm
25
So this seems to have solved it:
# dnf reinstall grub2-pc grub2-efi-x64
Last metadata expiration check: 0:01:08 ago on Sun 08 Jun 2025 04:38:40 PM CEST.
Dependencies resolved.
========================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================
Reinstalling:
grub2-efi-x64 x86_64 1:2.06-104.el9_6 baseos 1.3 M
replacing grub2-efi-x64.x86_64 1:2.06-94.el9_5
grub2-pc x86_64 1:2.06-104.el9_6 baseos 14 k
replacing grub2-pc.x86_64 1:2.06-94.el9_5
Transaction Summary
========================================================================================================================
Total download size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): grub2-pc-2.06-104.el9_6.x86_64.rpm 245 kB/s | 14 kB 00:00
(2/2): grub2-efi-x64-2.06-104.el9_6.x86_64.rpm 9.3 MB/s | 1.3 MB 00:00
------------------------------------------------------------------------------------------------------------------------
Total 3.8 MB/s | 1.3 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Reinstalling : grub2-efi-x64-1:2.06-104.el9_6.x86_64 1/6
Reinstalling : grub2-pc-1:2.06-104.el9_6.x86_64 2/6
Obsoleting : grub2-efi-x64-1:2.06-94.el9_5.x86_64 3/6
Cleanup : grub2-efi-x64-1:2.06-104.el9_6.x86_64 4/6
Obsoleting : grub2-pc-1:2.06-94.el9_5.x86_64 5/6
Cleanup : grub2-pc-1:2.06-104.el9_6.x86_64 6/6
Verifying : grub2-pc-1:2.06-104.el9_6.x86_64 1/6
Verifying : grub2-pc-1:2.06-104.el9_6.x86_64 2/6
Verifying : grub2-pc-1:2.06-94.el9_5.x86_64 3/6
Verifying : grub2-efi-x64-1:2.06-104.el9_6.x86_64 4/6
Verifying : grub2-efi-x64-1:2.06-104.el9_6.x86_64 5/6
Verifying : grub2-efi-x64-1:2.06-94.el9_5.x86_64 6/6
Reinstalled:
grub2-efi-x64-1:2.06-104.el9_6.x86_64 grub2-pc-1:2.06-104.el9_6.x86_64
Complete!
# dnf update
Last metadata expiration check: 0:01:28 ago on Sun 08 Jun 2025 04:38:40 PM CEST.
Dependencies resolved.
========================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================
Upgrading:
grub2-tools-efi x86_64 1:2.06-104.el9_6 baseos 547 k
replacing grub2-tools.x86_64 1:2.06-94.el9_5
grub2-tools-extra x86_64 1:2.06-104.el9_6 baseos 850 k
replacing grub2-tools.x86_64 1:2.06-94.el9_5
Transaction Summary
========================================================================================================================
Upgrade 2 Packages
Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): grub2-tools-efi-2.06-104.el9_6.x86_64.rpm 4.5 MB/s | 547 kB 00:00
(2/2): grub2-tools-extra-2.06-104.el9_6.x86_64.rpm 6.8 MB/s | 850 kB 00:00
------------------------------------------------------------------------------------------------------------------------
Total 4.1 MB/s | 1.4 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : grub2-tools-extra-1:2.06-104.el9_6.x86_64 1/5
Upgrading : grub2-tools-efi-1:2.06-104.el9_6.x86_64 2/5
Cleanup : grub2-tools-extra-1:2.06-94.el9_5.x86_64 3/5
Obsoleting : grub2-tools-1:2.06-94.el9_5.x86_64 4/5
Cleanup : grub2-tools-efi-1:2.06-94.el9_5.x86_64 5/5
Running scriptlet: grub2-tools-efi-1:2.06-94.el9_5.x86_64 5/5
Verifying : grub2-tools-efi-1:2.06-104.el9_6.x86_64 1/5
Verifying : grub2-tools-efi-1:2.06-94.el9_5.x86_64 2/5
Verifying : grub2-tools-1:2.06-94.el9_5.x86_64 3/5
Verifying : grub2-tools-extra-1:2.06-104.el9_6.x86_64 4/5
Verifying : grub2-tools-extra-1:2.06-94.el9_5.x86_64 5/5
Upgraded:
grub2-tools-efi-1:2.06-104.el9_6.x86_64 grub2-tools-extra-1:2.06-104.el9_6.x86_64
Complete!
# dnf update
Last metadata expiration check: 0:01:41 ago on Sun 08 Jun 2025 04:38:40 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!
1 Like