Varnish won't install under AlmaLinux 8.4

Haven’t tried to force the distro yet, guess I can try el8, but currently I get an error message:

No match for argument: varnish-release
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 1:11:15 ago on Tue Jul 6 19:16:16 2021.
Package jemalloc-5.2.1-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Detected operating system as almalinux/8.
Checking for curl…
Detected curl…
Downloading repository file:

Unable to download repo config from: packagecloud.io/install/repositories/varnishcache/varnish64/config_file.repo?os=almalinux&dist=8&source=script

This usually happens if your operating system is not supported by
packagecloud.io, or this script’s OS detection failed.

Last metadata expiration check: 1:11:18 ago on Tue Jul 6 19:16:16 2021.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 1:11:20 ago on Tue Jul 6 19:16:16 2021.
All matches were filtered out by modular filtering for argument: varnish

His has been resolved.

Manually created the .repo, and edited for el8, installed.
I think it’s running OK.
Some of the config files are not where the docs said they should be.

I’m not sure why you wanted varnish-release unless you needed later versions than Alma provides:

Last metadata expiration check: 12:46:37 ago on Tue 06 Jul 2021 18:32:37 BST.
Available Packages
varnish.x86_64            6.0.6-2.module_el8.3.0+6171+b3b42fcc     appstream
varnish-devel.x86_64      6.0.6-2.module_el8.3.0+6171+b3b42fcc     appstream
varnish-docs.x86_64       6.0.6-2.module_el8.3.0+6171+b3b42fcc     appstream
varnish-modules.x86_64    0.15.0-5.module_el8.3.0+6171+b3b42fcc    appstream
1 Like