RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1997398 - Transaction test error when in-place upgrading RHEL8 to RHEL9
Summary: Transaction test error when in-place upgrading RHEL8 to RHEL9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: wireless-regdb
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 9.0
Assignee: Michal Schmidt
QA Contact: Ken Benoit
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-25 07:27 UTC by Michal Reznik
Modified: 2022-05-17 16:29 UTC (History)
11 users (show)

Fixed In Version: wireless-regdb-2020.11.20-6.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 15:58:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
bump provides/obsoletes for crda (1.10 KB, text/plain)
2021-11-18 15:28 UTC, Michal Schmidt
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-94714 0 None None None 2021-08-25 07:33:17 UTC
Red Hat Product Errata RHBA-2022:3981 0 None None None 2022-05-17 15:58:07 UTC

Description Michal Reznik 2021-08-25 07:27:42 UTC
Description of problem:

When in-place upgrading RHEL8 to RHEL9 with "wireless-regdb" package included in the rpm transaction, it fails with:

Error: Transaction test error:
file /usr/lib/firmware/regulatory.db from install of wireless-regdb-2020.11.20-4.el9.noarch conflicts with file from package crda-3.18_2020.04.29-1.el8.noarch
file /usr/lib/firmware/regulatory.db.p7s from install of wireless-regdb-2020.11.20-4.el9.noarch conflicts with file from package crda-3.18_2020.04.29-1.el8.noarch 
file /usr/sbin/setregdomain from install of wireless-regdb-2020.11.20-4.el9.noarch conflicts with file from package crda-3.18_2020.04.29-1.el8.noarch

Version-Release number of selected component (if applicable):

wireless-regdb-2020.11.20-4.el9.noarch

How reproducible:

During in-place upgrade from RHEL8 to RHEL9 (with "wireless-regdb" package)

Actual results:

The upgrade fails with transaction error.

Expected results:

The upgrade passes.

Comment 1 Radek Vykydal 2021-10-08 07:55:17 UTC
Hello, gating test leapp.brew-build.upgrade.distro of anaconda build for 9.0.0 anaconda-34.25.0.18-1.el9 is failing with the issue.

Comment 2 Radek Vykydal 2021-10-21 06:33:35 UTC
Are you planning to address this issue?
We are still waiving our leapp gating test.

Comment 6 Michal Schmidt 2021-11-18 15:26:02 UTC
wireless-regdb in RHEL 9 is supposed to obsolete the crda package from RHEL 8. crda had an update in RHEL 8 and its version is no longer covered. The provides/obsoletes version in wireless-regdb.spec needs to be bumped to cover the current crda in RHEL 8.

Comment 7 Michal Schmidt 2021-11-18 15:28:26 UTC
Created attachment 1842599 [details]
bump provides/obsoletes for crda

Proposed spec file patch.

Comment 14 Ken Benoit 2021-12-01 12:57:30 UTC
Installed RHEL-8.5.0 on a system. Confirmed crda installed. Set up a repo file pointing at RHEL-9.0.0-20211129.2. Ran dnf install wireless-regdb. Was able to successfully install wireless-regdb, which also correctly removed crda. Rebooted the system. Still able to probe the current regulatory settings without issue. Marking as verified.

Comment 16 errata-xmlrpc 2022-05-17 15:58:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: wireless-regdb), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3981


Note You need to log in before you can comment on or make changes to this bug.