Problem:
I created a repo for ubuntu and get error “Cannot create repository version. Path is duplicated: dists/focal-updates/Release.” when syncing repo Expected outcome:
populate repo with ubuntu packages Foreman and Proxy versions:
foreman-2.4.0-1.el7.noarch
foreman-proxy-2.4.0-1.el7.noarch
katello-4.0.0-1.el7.noarch
pulp-client-1.0-1.noarch
Foreman and Proxy plugin versions:
Distribution and version:
CentOS Linux release 7.9.2009 Other relevant data:
Hello All,
So, as the topic says Im having issues trying to create a repo for ubuntu 20.04 hosts (and later 18.04). I have functional CentOS 7 and EPEL repos.
I have had to remove the --gpg-key line in all my repo creations and do it in tha gui as hammer says its no longer a valid option as it was when creating repos on Foreman 2.31.and Katello 3.18
The repo looks like this:
When I sync the repo I get this:
Under Details it says:
Hopefully its an easy fix. Coming from Spacewalk, I have to admit Foreman/Katello has not been an easy transition for me. Im much more a sysadmin than a dev ops guy.
So, I removed all the components from the sync settings and changed the upstream url to Index of /ubuntu. Now when attempting to sync the repo , it will run for ~40 minutes and end like this
Im hoping someone can throw me a bone so I can get this working while I still have some hair left. Ive searched foreman, atix, ochrhino and redhat and found very little information and less help.
Adeleglise,
I saw that as well and it looks pretty simple , but it doesnt seem to want to be simple for me so far. What upstream url did you use ?? And no, I dont hang out there. Maybe I should start to sometime.
quba42,
I did actually find that link before posting. I also saw suggestions to remove all components under the sync settings which would sync all the components without explicitely listing them.
I was pretty excited. It looked like the sync was working. But, as stated, after around 40 mins or so , I got the message server disconnected. I tried a half dozen times or so with the same outcome. Ill be waiting eagerly to hear what you find.
Interesting (sort of), i i dont know enough about how all the components work to know if its related , but I updated to tfm-rubygem-foreman_discovery-17.0.0-1.fm2_4.el7.noarch. Now when I attempt to sync the repo with 0 or 1 components in the repo config , I get
“Cannot create repository version. Path is duplicated: dists/focal-updates/Release”.
Keep in mind that orcharhino is still using Pulp 2 for everything. By contrast the pulp3_deb integration for Katello is pretty new, and still needs a lot of testing and fixing. I hope this work will accelerate once Katello 4.0.1 and 3.18.4 are out. (These versions will contain a newer version of pulp_deb which will make it easier to backport bugfixes.) Right now we are finding a lot of bugs.