While migrating from aap24/rhel8minimal to aap25/rhel8minimal I am having trouble with the build failing due to an RPM package which is already installed:
Running command:
podman build -f context/Containerfile -t ansible-execution-env:latest context
...showing last 20 lines of output...
Downloading ttp-0.9.5-py2.py3-none-any.whl (85 kB)
Downloading netaddr-1.3.0-py3-none-any.whl (2.3 MB)
Downloading ciscoisesdk-2.3.1-py3-none-any.whl (4.8 MB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading fastjsonschema-2.21.1-py3-none-any.whl (23 kB)
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Downloading scp-0.15.0-py2.py3-none-any.whl (8.8 kB)
Installing collected packages:
textfsm, jxmlease, fastjsonschema, ttp, requests, protobuf,
netaddr, grpcio, ansible-pylibssh, requests-toolbelt, ciscoisesdk, scp
Attempting uninstall: requests
Found existing installation: requests 2.31.0
x error: uninstall-no-record-file
x Cannot uninstall requests 2.31.0
╰─> The package's contents are unknown: no RECORD file was found for requests.
Hint: The package was installed by RPM. You should check if it can uninstall the package.
Error: error building at STEP "RUN /output/scripts/assemble":
error while running runtime: exit status 1
An error occurred (rc=125), see output line(s) above for details.
Has anyone experienced this kind of behaviour before and found a valid work-around?
Br
Jørgen