Problem:
I’ve managed to setup a Debian repo and I’m trying to get a client registered. I can run:
subscription-manager register --org="My Company" --activationkey="Operations Non Prod Debian"
I get this:
root@debian1101:/tmp# apt-get update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Ign:4 katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_1_Bullseye default InRelease
Ign:5 katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_subscription-manager default InRelease
Hit:6 https://apt.atix.de/Debian11 stable InRelease
Get:7 katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_1_Bullseye default Release [904 B]
Get:8 katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_subscription-manager default Release [1,664 B]
Ign:9 katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_1_Bullseye default Release.gpg
Ign:10 katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_subscription-manager default Release.gpg
Reading package lists... Done
N: Skipping acquire of configured file 'all/binary-amd64/Packages' as repository 'katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_1_Bullseye default InRelease' doesn't support architecture 'amd64'
I can confirm this is the current architecture on the client:
root@debian1101:/tmp# dpkg --print-architecture
amd64
And this is how the repository is configured:
How to get it to register properly and recognise the repository correctly?
The configured architecture appears to be correct so I’m not sure why it’s generating this:
N: Skipping acquire of configured file 'all/binary-amd64/Packages' as repository 'katello://foreman.local/pulp/deb/My_Company/Non_Production/Debian_11_Content_View/custom/Debian_11/Debian_11_1_Bullseye default InRelease' doesn't support architecture 'amd64'
Expected outcome:
Client correctly registered with Foreman / Katello and able to pull down packages without issues.
Foreman and Proxy versions:
Centos 7.9
Foreman 3.0
Katello 4.2
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data: