Install fails on packer because of missing grub package

Hello,
When I attempt to install the latest Rocky it fails with :

Failed to download the following packages : Cannot download
Packages/grub2-common-2.02-99.el8.noarch.rpm: All mirrors were tried

I use https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.4-x86_64-boot.iso as source iso_url then https://download.rockylinux.org/pub/rocky/8.4/BaseOS/x86_64/os/ for network install (I checked, the package is available at path).

Do I miss something obvious ?
Best,
Matthieu

1 Like

Same here using minimal or boot image (for me the package not found is grub2-efi).
Try with the DVD image, it works like a charm.

Ivan

1 Like

Thanks,
About the failing package, it’s random : sometimes it’s the grub2-common, other times it’s the grub2-efi.
I’ll try the dvd install, the weird thing is that I’ve been able to build rocky 2 or 3 days ago using the boot image & net install… then it started to fail, not sure what changed in the mean time.

I see the grub packages have been updated on July 18th, maybe a mirror lags behind (I’m not sure how the mirror resolution works in order to check) ?

EDIT : actually, hardcoding the mirror :

url --url=http://mirror.in2p3.fr/pub/linux/rocky/8/BaseOS/x86_64/os/

(I’m in France) fixed the problem (using the “generic” boot iso)

1 Like