Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman_use_copr: true does not work on centos9stream #158

Open
Jakuje opened this issue Jun 30, 2024 · 1 comment
Open

podman_use_copr: true does not work on centos9stream #158

Jakuje opened this issue Jun 30, 2024 · 1 comment

Comments

@Jakuje
Copy link

Jakuje commented Jun 30, 2024

On stock centos9stream, I am getting the following error when I enable the use of copr repository for podman:

Enabling a Copr repository. Please note that this repository is not part
of the main distribution, and quality may vary.
The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.
Error: It wasn't possible to enable this project.
Repository 'centos-stream+epel-next-9' does not exist in project 'rhcontainerbot/podman-next'.
Available repositories: 'fedora-rawhide-ppc64le', 'fedora-eln-ppc64le', 'fedora-rawhide-aarch64', 'centos-stream-9-s390x', 'fedora-eln-aarch64', 'centos-stream-9-x86_64', 'fedora-40-x86_64', 'epel-9-x86_64', 'epel-9-s390x', 'centos-stream-10-x86_64', 'fedora-39-ppc64le', 'centos-stream-10-aarch64', 'fedora-39-aarch64', 'fedora-rawhide-s390x', 'epel-9-aarch64', 'centos-stream-9-aarch64', 'fedora-eln-x86_64', 'fedora-rawhide-x86_64', 'fedora-39-s390x', 'fedora-40-s390x', 'centos-stream-10-s390x', 'fedora-39-x86_64', 'fedora-40-aarch64', 'fedora-eln-s390x', 'fedora-40-ppc64le'

If you want to enable a non-default repository, use the following command:
'dnf copr enable rhcontainerbot/podman-next '
But note that the installed repo file will likely need a manual modification.

I did go ahead with manual run of dnf copr enable rhcontainerbot/podman-next centos-stream-9-x86_64, which worked, but I assume there is some mismatch between the centos9stream name and what is built in copr so I am not exactly sure where is the issue, but reporting here as this role failed me when trying to enable some experimental functionality in podman.

@Jakuje
Copy link
Author

Jakuje commented Jun 30, 2024

Just now, I looked at the task to see that this repository name is forced by the role in

centos-stream+epel-next-{{ ansible_facts['distribution_major_version'] }}

I think it should be just centos-stream-{{ ansible_facts['distribution_major_version'] }} now as there are no -next repositories in the copr, I think.

Would be good to have some tests for this too (not necessarily that all stuff will work with the testing podman), but that this option works ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant