curl conflict when building rocky image with cache-url element

Bug #2002066 reported by Luke Odom
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
diskimage-builder
In Progress
Undecided
Luke Odom

Bug Description

[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | Map install for cache-url: curl
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | Map install for rocky-container: audit, dnf-plugins-core, dracut, dracut-config-generic, grubby, kernel, initscripts, man-pages, redhat-rpm-config
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | Map install for source-repositories: git
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | Map install for redhat-common: lsof, tcpdump, traceroute, which, ca-certificates, selinux-policy, selinux-policy-targeted, python3-libselinux, python3-policycoreutils, policycoreutils-python-utils, rng-tools, passwd
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | Running command: ['install-packages', 'curl', 'selinux-policy-targeted', 'lsof', 'initscripts', 'dracut', 'kernel', 'passwd', 'grubby', 'rng-tools', 'python3-policycoreutils', 'which', 'dracut-config-generic', 'man-pages', 'git-core', 'python3-libselinux', 'policycoreutils-python-utils', 'tcpdump', 'dnf-plugins-core', 'audit', 'selinux-policy', 'traceroute', 'ca-certificates', 'redhat-rpm-config']
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > Running install-packages install.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > + dnf -v -y install curl selinux-policy-targeted lsof initscripts dracut kernel passwd grubby rng-tools python3-policycoreutils which dracut-config-generic man-pages git-core python3-libselinux policycoreutils-python-utils tcpdump dnf-plugins-core audit selinux-policy traceroute ca-certificates redhat-rpm-config
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > DNF version: 4.12.0
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > cachedir: /tmp/yum
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > User-Agent: constructed: 'libdnf (Rocky Linux 9.1; generic; Linux.x86_64)'
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > repo: using cache for: baseos
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > baseos: using metadata from Tue Dec 13 06:20:10 2022.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > repo: using cache for: appstream
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > appstream: using metadata from Tue Nov 29 19:10:49 2022.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > repo: using cache for: extras
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > extras: using metadata from Thu Jan 5 16:58:20 2023.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > Last metadata expiration check: 0:18:04 ago on Fri Jan 6 03:12:38 2023.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > Package passwd-0.80-12.el9.x86_64 is already installed.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > Package ca-certificates-2022.2.54-90.2.el9.noarch is already installed.
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > --> Starting dependency resolution
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > --> Finished dependency resolution
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > Error:
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > Problem: problem with installed package curl-minimal-7.76.1-19.el9.x86_64
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > - package curl-minimal-7.76.1-19.el9.x86_64 conflicts with curl provided by curl-7.76.1-19.el9.x86_64
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > - conflicting requests
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | > (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | returncode: 1
[rocky-container/rocky-9-aarch64-build-succeeds] 2023-01-06 03:30:42.616 | install-packages failed with returncode 1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)
Changed in diskimage-builder:
status: New → In Progress
Luke Odom (luke-h6iaa)
Changed in diskimage-builder:
assignee: nobody → Luke Odom (luke-h6iaa)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.