Problem:
I have created a content view of the repos needed to install foreman-proxy and promoted it to the respective environment (and created an activation-key).
I have registered a host with this activation key and when I go to the URL in the repo-file, I can see the package there.
However, yum only seems to see the older version of the package in the base-repo.
I have disabled all the default repos.
21:44:07 (PROD) root@do-pxe02-prod [/etc/yum.repos.d] # yum provides -d 10 python3-pygments
timer: config: 2 ms
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile
Updating Subscription Management repositories.
YUM version: 4.4.2
Command: yum provides -d 10 python3-pygments
Installroot: /
Releasever: 8
cachedir: /var/cache/dnf
Base command: provides
Extra commands: ['provides', '-d', '10', 'python3-pygments']
User-Agent: constructed: 'libdnf (CentOS Linux 8; generic; Linux.x86_64)'
repo: using cache for: ansible-runner
ansible-runner: using metadata from Fri 12 Feb 2021 10:05:26 AM CET.
repo: using cache for: puppet6
puppet6: using metadata from Tue 20 Jul 2021 08:08:29 PM CEST.
repo: using cache for: CORP_Foreman_25_Katello_41_candlepin
CORP_Foreman_25_Katello_41_candlepin: using metadata from Tue 20 Jul 2021 06:38:51 PM CEST.
repo: using cache for: CORP_CentOS8_CentOS_8_-_AppStream_-_x86_64
CORP_CentOS8_CentOS_8_-_AppStream_-_x86_64: using metadata from Sat 24 Jul 2021 04:56:06 PM CEST.
repo: using cache for: CORP_CentOS8-ansible-29_CentOS_8_-_ansible29_cfg_mgmt_-_x86_64
CORP_CentOS8-ansible-29_CentOS_8_-_ansible29_cfg_mgmt_-_x86_64: using metadata from Tue 20 Jul 2021 06:39:58 PM CEST.
repo: using cache for: CORP_Foreman_25_Katello_41
CORP_Foreman_25_Katello_41: using metadata from Tue 20 Jul 2021 06:40:00 PM CEST.
repo: using cache for: CORP_Foreman_25_Foreman_25_Plugins
CORP_Foreman_25_Foreman_25_Plugins: using metadata from Sat 24 Jul 2021 05:09:08 PM CEST.
repo: using cache for: CORP_Foreman_25_Puppet_6
CORP_Foreman_25_Puppet_6: using metadata from Thu 22 Jul 2021 04:45:29 PM CEST.
repo: using cache for: CORP_Foreman_25_Foreman_25
CORP_Foreman_25_Foreman_25: using metadata from Tue 20 Jul 2021 06:39:57 PM CEST.
repo: using cache for: CORP_CentOS8_CentOS_8_-_PowerTools_-_x86_64
CORP_CentOS8_CentOS_8_-_PowerTools_-_x86_64: using metadata from Sat 24 Jul 2021 04:54:56 PM CEST.
repo: using cache for: CORP_Foreman_25_Katello_41_pulpcore
CORP_Foreman_25_Katello_41_pulpcore: using metadata from Tue 20 Jul 2021 06:40:02 PM CEST.
Last metadata expiration check: 0:18:42 ago on Sat 24 Jul 2021 09:25:22 PM CEST.
timer: sack setup: 545 ms
Completion plugin: Generating completion cache...
Searching Packages:
python3-pygments-2.2.0-20.module_el8.4.0+790+083e3d81.noarch : Syntax highlighting engine written in Python
Repo : CORP_CentOS8_CentOS_8_-_AppStream_-_x86_64
Matched from:
Provide : python3-pygments = 2.2.0-20.module_el8.4.0+790+083e3d81
Cleaning up.
21:44:13 (PROD) root@do-pxe02-prod [/etc/yum.repos.d] #
21:52:28 (PROD) root@do-pxe02-prod [/etc/yum.repos.d] # curl https://foreman.dom.tld/pulp/content/CORP/Foreman_Test/Foreman_Host/custom/Foreman_25/Katello_41_pulpcore/Packages/p/ |grep pygments
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21373 100 21373 0 0 474k <li><a href="python3-pygments-2.8.1-1.el8.noarch.rpm">python3-pygments-2.8.1-1.el8.noarch.rpm</a></li>
0 --:--:-- --:--:-- --:--:-- 474k
21:52:34 (PROD) root@do-pxe02-prod [/etc/yum.repos.d] #
Foreman and Proxy versions:
foreman-debug-2.5.2-1.el8.noarch
foreman-installer-2.5.2-3.el8.noarch
foreman-installer-katello-2.5.2-3.el8.noarch
foreman-proxy-2.5.2-1.el8.noarch
Distribution and version:
CentOS 8.4