Bug 2112725

Summary: Pam & Pam-libs not updating
Product: [Fedora] Fedora Reporter: adamrwk
Component: pamAssignee: Iker Pedrosa <ipedrosa>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 36CC: besser82, imc, ipedrosa, tm
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-03 14:40:25 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:

Description adamrwk 2022-08-01 00:22:39 UTC
Description of problem: packages pam and pam-libs for i686 and x86_64 will not update via dnf or GNOME Software.


Version-Release number of selected component (if applicable): 1.5.2-13.fc36 


How reproducible: every time


Steps to Reproduce:
1. open GNOME Terminal
2. type "sudo dnf update"
3. press enter

Actual results: this error text appears...

> Last metadata expiration check: 0:12:24 ago on Sun 31 Jul 2022 08:03:42 PM.
> Dependencies resolved.
>
> Problem 1: pam-1.5.2-12.fc36.i686 has inferior architecture
>  - cannot install both pam-1.5.2-13.fc36.x86_64 and pam-1.5.2-12.fc36.x86_64
>  - cannot install the best update candidate for package pam-1.5.2-12.fc36.i686
>  - cannot install the best update candidate for package pam-1.5.2-12.fc36.x86_64
> Problem 2: package libpwquality-1.4.4-7.fc36.i686 requires pam(x86-32), but none of the providers can be installed
>  - package pam-1.5.2-12.fc36.i686 requires pam-libs(x86-32) = 1.5.2-12.fc36, but none of the providers can be installed
>  - cannot install both pam-libs-1.5.2-13.fc36.i686 and pam-libs-1.5.2-12.fc36.i686
>  - cannot install the best update candidate for package pam-libs-1.5.2-12.fc36.i686
>  - cannot install the best update candidate for package libpwquality-1.4.4-7.fc36.i686
> Problem 3: problem with installed package pam-1.5.2-12.fc36.i686
>  - package pam-1.5.2-12.fc36.i686 requires pam-libs(x86-32) = 1.5.2-12.fc36, but none of the providers can be installed
>  - pam-libs-1.5.2-12.fc36.i686 has inferior architecture
>  - cannot install both pam-libs-1.5.2-13.fc36.x86_64 and pam-libs-1.5.2-12.fc36.x86_64
>  - cannot install the best update candidate for package pam-libs-1.5.2-12.fc36.x86_64
================================================================================
 Package          Architecture   Version                  Repository       Size
================================================================================
> Skipping packages with conflicts:
> (add '--best --allowerasing' to command line to force their upgrade):
> pam              x86_64         1.5.2-13.fc36            updates         522 k
> pam-libs         i686           1.5.2-13.fc36            updates          61 k
> pam-libs         x86_64         1.5.2-13.fc36            updates          58 k

> Transaction Summary
================================================================================
> Skip  3 Packages

> Nothing to do.
> Complete!



Expected results: pam and pam-libs to update to the latest version.


Additional info: I have tried some troubleshooting with no success. using options like "--allowerasing" and "--best" do not resolve the issue. I attempted to remove pam but dnf stopped me since it relates to sudo. Also, ever since this bug began I have been getting significantly more problem reports. Many of them are non-descript reports that have something to do with the kernel. But wineserver has also been crashing with some frequency. Unfortunately I do not have any problem reports to share at this time since I manually deleted every entry. Also the issues would not allow me to report the problem through the Problem Reporting application.

Comment 1 Iker Pedrosa 2022-08-01 07:57:21 UTC
You seem to have the same problem as https://bugzilla.redhat.com/show_bug.cgi?id=2111273

Can you try removing pam.i686 and installing the x86_64 version?

Comment 2 adamrwk 2022-08-03 13:59:38 UTC
Removing pam-libs.i686 resolved the issue. I was able to update the x86_64 version

Comment 3 Iker Pedrosa 2022-08-03 14:40:25 UTC
In that case I'm closing this bugzilla.

Comment 4 Ian Collier 2022-08-10 11:57:08 UTC
Sorry why is this not a bug?  pam.i686 is required by redhat-lsb-core.i686
if you want to run legacy 32-bit LSB apps.  Can we not just have the correct
version of pam.i686 in the updates repo so that it will update cleanly?

If the above is not supported then please remove redhat-lsb-core.i686 from
Fedora or make it not depend on pam.

Comment 5 Iker Pedrosa 2022-08-22 07:50:55 UTC
In this case the update isn't working because there's an architecture (i386 and x86_64) mix for the PAM package. Once that is fixed the package can be updated.