Hello,
I have been testing the Elevate script for upgrading in a air gaped environment and i have recently started encountering an issue. where it seems that the Elevate might not respect the proxy settings in /etc/leapp/files/leapp_upgrade_repositories.repo
it is worth noting that I have been able to do this upgrade not that long ago and this seems new.
the preupgrade check fails here.
==> Processing phase TargetTransactionCheck
====> * local_repos_inhibit
Inhibits the upgrade if local repositories were found.
====> * report_set_target_release
Reports information related to the release set in the subscription-manager after the upgrade.
====> * dnf_transaction_check
This actor tries to solve the RPM transaction to verify the all package dependencies can be successfully resolved.
Applying transaction workaround - yum config fix
Extra Packages for Enterprise Linux 8 - x86_64 0.0 B/s | 0 B 00:00
2024-02-26 14:50:45.817 ERROR PID: 28252 leapp.workflow.TargetTransactionCheck.dnf_transaction_check: DNF execution failed:
====> * tmp_actor_to_satisfy_sanity_checks
The actor does NOTHING but satisfy static sanity checks
====> * check_initramfs_tasks
Inhibit the upgrade if conflicting “initramfs” tasks are detected
============================================================
ERRORS
2024-02-26 14:50:46.007956 [ERROR] Actor: dnf_transaction_check
Message: DNF execution failed with non zero exit code.
STDOUT:
Extra Packages for Enterprise Linux 8 - x86_64 0.0 B/s | 0 B 00:00
STDERR:
No matches found for the following disable plugin patterns: subscription-manager
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Errors during downloading metadata for repository ‘el8-epel’:
- Curl error (6): Couldn’t resolve host name for https:// mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=almalinux [Could not resolve host: mirrors.fedoraproject. org]
Error: Failed to download metadata for repo ‘el8-epel’: Cannot prepare internal mirrorlist: Curl error (6): Couldn’t resolve host name for https:// mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=almalinux [Could not resolve host: mirrors.fedoraproject. org]