Closed hmoffatt closed 2 years ago
Ah the policy.json conflict also occurs with the kubic repository. It also conflicts on registries.conf in another package.
I guess this is a problem with the packages rather than the ansible role, but I am not sure where to report an issue with that.
You could report packaging related here, because both packaging with OBS (https://build.opensuse.org/project/show/home:alvistack) and its Ansible Role (https://github.com/alvistack) are highly related.
The reason of conflict due to my greedy package versioning with Epoch = 100
, which means you should accept ALL of my package dependency or reject ALL, you couldn't make it in hybrid mode and mixing them together.
BTW, my OBS repo already package ALL required dependencies, e.g. podman > containers-common / containers-storage > conmon > crun > etc. Due to each OS always coming with different package naming, I give an unified naming for my packages across all of my supported OS. This also happened for which config files should belong to which packaging and more and more conflict generated if working in hybrid mode...
Long story short: this is a feature, not a bug; AlviStack is a greedy 3rd party solution, but not an official downstream OS subproject with 100% compatibility; AlviStack always with dirty workaround, e.g. skipping test and doc during packaging, but always keep tracing upstream components update and report bug as much as possible.
I don't expect to mix and max your packages with Debian, but it would be nice if there was an upgrade path from the official Debian packages. At first glance you would just need Conflicts (maybe Confilcts+Replaces) with golang-github-containers-common
and golang-github-containers-images
, although more issues might show up once those are resolved.
By design Epoch with 100 should already enough for fresh system to choose our greedy package dependency, which also checked with this Ansible Role GitLab CI Molecule test cases.
At least with my current limited man power, I have no plan for adding this additional constraints into my packaging script. But PR is welcome 🙏
Which repo has the packaging?
I build the packages with my Ubuntu 22.04 laptop as above GIT commit message, then using Open Build Service ‘osc build’ command to test multi OS build, and finally push to OBS with ‘osc commit’ and wait for it build.
I have podman 3.0.1 installed from the Debian bullseye repository. When I try to install the latest using the Ansible role, it fails because the packages don't properly conflict with the Debian ones.
I guess this is a problem with the packages rather than the ansible role, but I am not sure where to report an issue with that.
I tried to check it out by hand: