1.) Navigate to your repository in the Foreman UI via “Content > Products > <your_product_name> > Repositories tab > <your_repository_name>”.
2.) Make sure you have entered “Publish via HTTP: Yes”.
3.) Right below “Publish via HTTP: Yes” you should see “Published At: <url_to_repo_root>”
4.) Use the following in your /etc/apt/sources.list file on your clients:
deb <url_to_repo_root> default all
Note: Using default all presumes having "publish_default_release": true, in your /etc/pulp/server/plugins.conf.d/deb_distributor.json config file on your foreman server.
It looks like this says “Ign/Ignore” not “Not found”, so the question is why your apt-get wants to ignore this release. I don’t know exactly what the --download-only flag does. The other thing I could imagine, is that Debian has become increasingly pedantic about demanding signed releases. You put [trusted=yes] in your /etc/apt/sources.list, but maybe that is not enough. You could try to continue googling for this yourself, or you could try going the full Content View + Activation Key + Subscription manager route.
I am unsure how I can help further since everything seems to be working on your Foreman/Katello. It looks like it might be client configuration that does not (and I am out of ideas what that might be exactly)…
I’m trying to sync the Ubuntu Repository and I’m getting below error message.
PLP0000: [Errno 2] No such file or directory: u’/var/cache/pulp/reserved_resource_worker-1@example.com/8ad7c01c-65ef-4beb-9417-839a56770714/dists/bionic/main/binary-arm64/Packages.xz’
Since this thread is already quite long, and this is a completely new/separate issue, perhaps we should open a new thread to discuss it. (For future readability and findability). Thanks.