Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1663136

Summary: Install of update of nss.x86_64 adds i686 into transaction
Product: [Fedora] Fedora Reporter: Jaroslav Mracek <jmracek>
Component: nssAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: bnater, dueno, elio.maldonado.batiz, igor.raits, kdudka, kengert, mcermak, rpm-software-management
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nss-3.41.0-3.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1663187 (view as bug list) Environment:
Last Closed: 2019-01-18 02:13:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1663187    
Attachments:
Description Flags
Debugsolver data none

Description Jaroslav Mracek 2019-01-03 09:45:52 UTC
Created attachment 1518116 [details]
Debugsolver data

Description of problem:
Install of higher version of nss.x86_64 result in installing i686 packages. Upgrade of nss.x86_64 result in correct behavior (upgrade of nss and nss-sysinit).

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


How reproducible:


Steps to Reproduce:
1. dnf install nss-<lowest version>.x86_64 and nss-sysinit-<lowest version>.x86_64 in empty installroot
2. dnf install nss-<higher version that installed>.x86_64

Actual results:
Adds i686 packages in transaction
install glibc-2.28-26.fc29.i686@test
install nspr-4.20.0-1.fc29.i686@test
install nss-3.39.0-2.fc29.i686@test
install nss-softokn-3.41.0-1.fc29.i686@test
install nss-softokn-freebl-3.41.0-1.fc29.i686@test
install nss-util-3.41.0-1.fc29.i686@test
install sqlite-libs-3.26.0-1.fc29.i686@test
install zlib-1.2.11-14.fc29.i686@test
upgrade nss-3.39.0-2.fc29.x86_64@@System nss-3.41.0-1.fc29.x86_64@test

Expected results:
upgrade nss-3.39.0-2.fc29.x86_64@@System nss-3.41.0-1.fc29.x86_64@test
upgrade nss-sysinit-3.39.0-2.fc29.x86_64@@System nss-sysinit-3.41.0-1.fc29.x86_64@test

Additional info:

Comment 1 Igor Raits 2019-01-03 09:59:53 UTC
The whole reason for this is:

`nss-sysinit-3.39.0-2.fc29.x86_64@@System` requires `nss = 3.39.0-2.fc29` which is provided by (installed) `nss-3.39.0-2.fc29.x86_64@@System` and `nss-3.39.0-2.fc29.i686@test`.

When you ask to update just nss, it keeps nss-sysint at old version which makes solver to install nss.i686 to satisfy dependency.

So I would say, this is nss packaging bug. It should depends on nss%{?_isa}, not just on nss.

Comment 3 Fedora Update System 2019-01-15 17:27:25 UTC
nss-3.41.0-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1d30a89f7c

Comment 4 Fedora Update System 2019-01-16 03:31:26 UTC
nss-3.41.0-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1d30a89f7c

Comment 5 Fedora Update System 2019-01-18 02:13:55 UTC
nss-3.41.0-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.