After trying to sync the R repo, I get the error “No valid Release file found for ‘bionic-cran40’.”
Since I did setup a gpg key pair, that works fine directly from an Ubuntu server, I dove in the logs on the Foreman server and found this in /var/log/messages:
The repository you are trying to sync is using “flat repository format”.
While pulp_deb has had experimental support for this format, for some time, the implementation was not very robust until a major overhaul was released with pulp_deb 2.16.
Unfortunately, Katello 4.1 (which you are using) still uses pulp_deb 2.14.
Starting with Katello 4.3 (which uses pulp_deb 2.16) what you are seeking is definitely possible.
Using Katello 4.1 there is a small chance, it might be possible for the repo you want…
Flat repo usage instructions
To make Katello/Pulp interpret your “Release” as a flat repo, the value you enter for the release must end in a /. Thats it. If you enter:
There should not be any /dists/ part in the URL where pulp_deb will look for the Release file.
However, like I said above, there is still a chance the sync will not work properly until you update to Katello 4.3.
Both the above Upstream URL/Release combinations should work equally well on Katello 4.3 (and may or may not make a difference on Katello 4.1).
Note that we have recently added significantly more UI hints, sanity checking, examples, and documentation on the Katello page for creating deb repositories. (I don’t remember the exact version that was released with). Hopefully this will help users with understanding what to place in the Releases field going forwards.
Thank you very much for your quick response.
Both versions with the “/” at the end, worked on this version of Katello (4.1).
All packages are sync’d now.
Also, I added an update to Foreman 3 in our planning.