[root@centreon yum.repos.d]# dnf repolist
Updating Subscription Management repositories.
repo id repo name
centreon-24.10-stable Centreon open source software repository.
centreon-24.10-stable-noarch Centreon open source software repository.
centreon-plugins-24.10-stable Centreon plugins repository.
centreon-plugins-24.10-stable-noarch Centreon plugins repository.
codeready-builder-for-rhel-9-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs)
epel Extra Packages for Enterprise Linux 9 - x86_64
epel-cisco-openh264 Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64
rhel-9-for-x86_64-appstream-rpms Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
rhel-9-for-x86_64-baseos-rpms Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
[root@centreon yum.repos.d]#
"
and I just enabled the proxy for the repo and tried again but I got this :
[root@centreon yum.repos.d]# sudo dnf config-manager --save --setopt=*.proxy=http://host:port/ centreon*
Updating Subscription Management repositories.
[root@centreon yum.repos.d]# dnf install centreon-pack-*
Updating Subscription Management repositories.
Centreon open source software repository. 8.7 kB/s | 1.5 kB 00:00
Centreon open source software repository. 7.9 kB/s | 1.5 kB 00:00
Centreon plugins repository. 11 kB/s | 1.5 kB 00:00
Centreon plugins repository. 6.1 kB/s | 1.5 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 63 kB/s | 4.5 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 41 kB/s | 4.1 kB 00:00
No match for argument: centreon-pack-*
Error: Unable to find a match: centreon-pack-*
[root@centreon yum.repos.d]#
This time, I’m trying to download some GitHub repos, but I can’t seem to access them. I’m wondering if there’s some workaround like you mentioned earlier for the RPM packages and repo files.
It looks like the proxy server is blocking access to that domain/page.
Your best option is to contact the network administrator to allow access, otherwise requires utilizing tools that may violate the corporate security policy.