-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
rhel-7.9.z
-
None
-
None
-
rhel-sst-upgrades
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
All
-
None
What were you trying to do that didn't work?
The leapp upgrae fails with error.
1. Actor: dnf_package_download
Message: DNF execution failed with non zero exit code.
Please provide the package NVR for which bug is seen:
leapp package.
How reproducible:
On a RHEL 7 system install `iwl7260-firmware` or any third party package which has RHel shipped update in RHEL 7. During the leapp preupgrade/upgrade it fails with the below error in `leapp-report.txt`
Summary: {"STDERR": "Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system Warning: Package marked by Leapp to upgrade not found in repositories metadata: leapp leapp-upgrade-el7toel8 gpg-pubkey python2-leapp RPM: warning: Generating 6 missing index(es), please wait... Error: Transaction test error: file /usr/bin/uname26 from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package uname26-1.0-1.el7.x86_64 file /usr/lib/firmware/iwlwifi-so-a0-gf-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch file /usr/lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch ", "STDOUT": "Last metadata expiration check: 0:01:46 ago on Thu Feb 1 15:07:43 2024. Dependencies resolved. ========================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================== Installing: adcli-doc noarch 0.9.2-1.el8 rhel-8-for-x86_64-baseos-rpms 75 k alsa-utils-alsabat x86_64 1.2.8-1.el8 rhel-8-for-x86_64-appstream-rpms 46 k anaconda-install-env-deps x86_64 33.16.8.9-1.el8_8 rhel-8-for-x86_64-appstream-rpms 198 k apr-util-bdb x86_64 1.6.1-6.el8_8.1 rhel-8-for-x86_64-appstream-rpms 25 k apr-util-openssl x86_64 1.6.1-6.el8_8.1 rhel-8-for-x86_64-appstream-rpms 27 k authselect-compat x86_64 1.2.6-1.el8 rhel-8-for-x86_64-appstream-rpms 38 k replacing authconfig.x86_64 6.2.8-30.el7 bluez-obexd x86_64 5.63-1.el8 rhel-8-for-x86_64-baseos-rpms 233 k cockpit x86_64 286.1-1.el8 rhel-8-for-x86_64-baseos-rpms 81 k compat-libpthread-nonshared x86_64 2.28-225.el8_8.6 rhel-8-for-x86_64-appstream-rpms 67 k coreutils-common
Such issue occurs due to the RHEL has third party/upstream package and its version is shipped by RHEL 8 by Red Hat.
Steps to reproduce
- On a RHEL 7 system install `iwl7260-firmware` or any third party package which has RHel shipped update in RHEL 7. During the leapp preupgrade/upgrade it fails with the below error in `leapp-report.txt`
Summary: {"STDERR": "Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system Warning: Package marked by Leapp to upgrade not found in repositories metadata: leapp leapp-upgrade-el7toel8 gpg-pubkey python2-leapp RPM: warning: Generating 6 missing index(es), please wait... Error: Transaction test error: file /usr/bin/uname26 from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package uname26-1.0-1.el7.x86_64 file /usr/lib/firmware/iwlwifi-so-a0-gf-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch file /usr/lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch ", "STDOUT": "Last metadata expiration check: 0:01:46 ago on Thu Feb 1 15:07:43 2024. Dependencies resolved. ========================================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================================== Installing: adcli-doc noarch 0.9.2-1.el8 rhel-8-for-x86_64-baseos-rpms 75 k alsa-utils-alsabat x86_64 1.2.8-1.el8 rhel-8-for-x86_64-appstream-rpms 46 k anaconda-install-env-deps x86_64 33.16.8.9-1.el8_8 rhel-8-for-x86_64-appstream-rpms 198 k apr-util-bdb x86_64 1.6.1-6.el8_8.1 rhel-8-for-x86_64-appstream-rpms 25 k apr-util-openssl x86_64 1.6.1-6.el8_8.1 rhel-8-for-x86_64-appstream-rpms 27 k authselect-compat x86_64 1.2.6-1.el8 rhel-8-for-x86_64-appstream-rpms 38 k replacing authconfig.x86_64 6.2.8-30.el7 bluez-obexd x86_64 5.63-1.el8 rhel-8-for-x86_64-baseos-rpms 233 k cockpit x86_64 286.1-1.el8 rhel-8-for-x86_64-baseos-rpms 81 k compat-libpthread-nonshared x86_64 2.28-225.el8_8.6 rhel-8-for-x86_64-appstream-rpms 67 k coreutils-common
Expected results
We expect that the `leapp-report.txt` mentions the package along with its vendor and suggest and as a `Remediation` step we suggest to remove the third-party package in RHEL 7 so that the system is eligible for an upgrade to RHEL8.
Actual results :-
The `leapp-report.txt` looks as below.
On a RHEL 7 system install `iwl7260-firmware` or any third party package which has RHel shipped update in RHEL 7. During the leapp preupgrade/upgrade it fails with the below error in `leapp-report.txt`
Summary: {"STDERR": "Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system\nFailed to create directory /var/lib/leapp/el8userspace//s ys/fs/selinux: Read-only file system\nWarning: Package marked by Leapp to upgrade not found in repositories metadata: leapp leapp-upgrade-el7toel8 gpg-pubkey python2-leapp\n RPM: warning: Generating 6 missing index(es), please wait...\nError: Transaction test error:\n file /usr/bin/uname26 from install of util-linux-2.32.1-42.el8_8.x86_64 confl icts with file from package uname26-1.0-1.el7.x86_64\n file /usr/lib/firmware/iwlwifi-so-a0-gf-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conf licts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch\n file /usr/lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm from install of iwl7260-firmware-1:25.30.1 3.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch\n file /usr/lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch\n file /usr/lib/firmware/iwlwifi-ty- a0-gf-a0.pnvm from install of iwl7260-firmware-1:25.30.13.0-117.el8_8.1.noarch conflicts with file from package iwlax2xx-firmware-999:20211203-999.9.1.el7.noarch\n\n", "STDO UT": "Last metadata expiration check: 0:01:46 ago on Thu Feb 1 15:07:43 2024.\nDependencies resolved.\n===================================================================== =====================================================================================\n Package Arch Version Repository Size\n======================================================================================================= ===================================================\nInstalling:\n adcli-doc noarch 0.9.2-1.el8 rhel-8-for-x86_64-baseos-rpms 75 k\n alsa-utils-alsabat x86_64 1.2.8-1.el8 rhel-8-fo r-x86_64-appstream-rpms 46 k\n anaconda-install-env-deps x86_64 33.16.8.9-1.el8_8 rhel-8-for-x86_64-appstrea m-rpms 198 k\n apr-util-bdb x86_64 1.6.1-6.el8_8.1 rhel-8-for-x86_64-appstream-rpms 25 k\n a pr-util-openssl x86_64 1.6.1-6.el8_8.1 rhel-8-for-x86_64-appstream-rpms 27 k\n authselect-compat x86_64 1.2.6-1.el8 rhel-8-for-x86_64-appstream-rpms 38 k\n replacing authconfig.x86_64 6. 2.8-30.el7\n bluez-obexd x86_64 5.63-1.el8 rhel-8-for-x86_64-baseos-rpms 233 k\n cock pit x86_64 286.1-1.el8 rhel-8-for-x86_64-baseos-rpms 81 k\n compat-libpthread-non shared x86_64 2.28-225.el8_8.6 rhel-8-for-x86_64-appstream-rpms 67 k\n coreutils-common