Squid module installation failure

Hi there, this is my first post on the RockyLinux forum so apologies if this is the wrong place.

I am migrating a number of machines from CentOS7 to Rocky8. Like many, I have discovered that I need to treat the EL8 repositories differently because of the modular metadata. I have an internal mirror of the RockyLinux repo and am trying my best to mirror that as best as I can. The problem is when I am attempting to install squid on a host from my mirror:

[root@localhost]  dnf install squid
Last metadata expiration check: 0:17:16 ago on Thu 09 Dec 2021 14:37:43 GMT.
 Problem: package squid-7:4.15-1.module+el8.5.0+705+218dec94.x86_64 requires perl(Net::POP3), but none of the providers can be installed
  - conflicting requests
  - package perl-libnet-3.11-4.module+el8.5.0+690+b6cd1280.noarch is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I am unsure how to proceed now. I know that my modular packages seem to be available as ‘dnf module list’ shows the modular packages which are available, and I can see Squid V4 listed there.

Any advice please? How can I get Squid installed onto Rocky 8?

Many thanks

Do you have the AppStream repo enabled?

yum module provides perl-libnet

That should show you which repo it expects to find the package in.