Describe the bug
The download-requirements script may fail on re-run on RHEL/AlmaLinux OS after failure in first run.
How to reproduce
Steps to reproduce the behavior:
Run epicli prepare --os almalinux-8 --arch x86_64
Run docker run -it --platform linux/amd64 -v /path/to/shared/dir:/shared almalinux:8.4
Rename one package to cause an error, e.g. createrepo_c to createrepo_test in packages.yml
2022-09-22 12:59:02,768 [ERROR]: repoquery failed. Cannot find packages: ['createrepo_test]
Restore the proper package name and run download requirements script again
The script will fail at the very beginning with the following error:
Describe the bug The
download-requirements
script may fail on re-run on RHEL/AlmaLinux OS after failure in first run.How to reproduce Steps to reproduce the behavior:
epicli prepare --os almalinux-8 --arch x86_64
docker run -it --platform linux/amd64 -v /path/to/shared/dir:/shared almalinux:8.4
createrepo_c
tocreaterepo_test
in packages.yml2022-09-22 12:59:02,768 [ERROR]: repoquery failed. Cannot find packages: ['createrepo_test]
download requirements
script againThe script will fail at the very beginning with the following error:
Config files
Environment
epicli version: [
2.0.2dev
]Additional context
DoD checklist