Bug 2056617

Summary: Installing pam-libs has a conflict with the earlier version of pam and won't update via dnf
Product: [Fedora] Fedora Reporter: stan <gryt2>
Component: pamAssignee: Iker Pedrosa <ipedrosa>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: besser82, gryt2, ipedrosa, tm
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-21 16:27:05 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 stan 2022-02-21 15:33:05 UTC
Description of problem:
Running dnf update tries to update pam and install pam-libs, but pam-libs conflicts with an earlier version already installed,
package pam-1.5.2-9.fc36.x86_64.

Version-Release number of selected component (if applicable):
pam-libs-1.5.2-11.fc37.x86_64

How reproducible:
every time

Steps to Reproduce:
1. Have package pam-1.5.2-9.fc36.x86_64 installed
2. Run a dnf update
3.

Actual results:
Error: Transaction test error:
  file /usr/lib64/libpam.so.0.85.1 from install of pam-libs-1.5.2-11.fc37.x86_64 conflicts with file from package pam-1.5.2-9.fc36.x86_64
  file /usr/lib64/libpam_misc.so.0.82.1 from install of pam-libs-1.5.2-11.fc37.x86_64 conflicts with file from package pam-1.5.2-9.fc36.x86_64
  file /usr/lib64/libpamc.so.0.82.1 from install of pam-libs-1.5.2-11.fc37.x86_64 conflicts with file from package pam-1.5.2-9.fc36.x86_64
  file /usr/lib64/libpam.so.0.85.1 from install of pam-libs-1.5.2-11.fc37.x86_64 conflicts with file from package pam-1.5.2-10.fc36.x86_64
  file /usr/lib64/libpam_misc.so.0.82.1 from install of pam-libs-1.5.2-11.fc37.x86_64 conflicts with file from package pam-1.5.2-10.fc36.x86_64
  file /usr/lib64/libpamc.so.0.82.1 from install of pam-libs-1.5.2-11.fc37.x86_64 conflicts with file from package pam-1.5.2-10.fc36.x86_64

Expected results:
pam updates, and pam-libs installs

Additional info:

Comment 1 stan 2022-02-21 16:27:05 UTC
I noticed a discrepancy in this information.  While it is complaining about pam-1.5.2-9.fc36.x86_64, the update is saying it is replacing pam-1.5.2-10.fc36.x86_64.  So I looked, and there were two pam packages installed.  When I removed pam-1.5.2-9.fc36.x86_64, and ran the dnf update, it completed successfully.  So, I am closing this bugzilla.  And looking into why there are duplicate packages on my system, and how to get rid of them.