Bug 2124249

Summary: Problem: cannot install the best update candidate for package libknet1-crypto-nss-plugin-1.18-1.el8.x86_64
Product: [Fedora] Fedora EPEL Reporter: Brian J. Murrell <brian>
Component: kronosnet-epelAssignee: Davide Cavalca <davide>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: epel8CC: davide, smooge
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kronosnet-epel-1.24-3.el8 kronosnet-epel-1.24-4.el8.next Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-15 02:48:09 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 Brian J. Murrell 2022-09-05 12:08:34 UTC
Description of problem:
# dnf upgrade
Last metadata expiration check: 0:24:08 ago on Mon 05 Sep 2022 07:39:48 AM EDT.
Error: 
 Problem: cannot install the best update candidate for package libknet1-crypto-nss-plugin-1.18-1.el8.x86_64
  - nothing provides libknet1(x86-64) = 1.24-2.el8 needed by libknet1-crypto-nss-plugin-1.24-2.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Version-Release number of selected component (if applicable):
In the output above.

How reproducible:
100%

Steps to Reproduce:
1. dnf upgrade.

Actual results:
In the description

Expected results:
Should not cause installation conflicts

Additional info:

Comment 1 Davide Cavalca 2022-09-05 12:24:47 UTC
Thank you, I will put up an update to fix this shortly.

Comment 2 Fedora Update System 2022-09-05 12:50:10 UTC
FEDORA-EPEL-2022-33f81dbb7e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-33f81dbb7e

Comment 3 Fedora Update System 2022-09-06 11:00:56 UTC
FEDORA-EPEL-2022-33f81dbb7e has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Brian J. Murrell 2022-09-06 11:53:43 UTC
Still broken:

# dnf upgrade
Last metadata expiration check: 0:08:34 ago on Tue 06 Sep 2022 07:44:24 AM EDT.
Error: 
 Problem: cannot install the best update candidate for package libknet1-crypto-nss-plugin-1.18-1.el8.x86_64
  - nothing provides libknet1(x86-64) = 1.22-1.el8 needed by libknet1-crypto-nss-plugin-1.24-3.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 5 Davide Cavalca 2022-09-06 12:18:59 UTC
Ah looks like the mirrors now carry libknet1-1.24-2.el8, not 1.22-1.el8 :( I'll put up another update.

Comment 6 Davide Cavalca 2022-09-06 12:38:30 UTC
Ok I see the problem now. el8 is at 1.22-1.el8 but Stream is at 1.24-2.el8, so we'll need to do a separate build in epel8-next to get this sorted out properly. I'm assuming the system where you're seeing this issue is running Stream?

Branch requested:
$ fedpkg request-branch epel8-next
https://pagure.io/releng/fedora-scm-requests/issue/47410

Comment 7 Brian J. Murrell 2022-09-06 12:40:55 UTC
(In reply to Davide Cavalca from comment #6)
> Ok I see the problem now. el8 is at 1.22-1.el8 but Stream is at 1.24-2.el8,
> so we'll need to do a separate build in epel8-next to get this sorted out
> properly. I'm assuming the system where you're seeing this issue is running
> Stream?

No.  It is running EL8.6.

Comment 8 Davide Cavalca 2022-09-06 12:54:15 UTC
Do you have the CRB repository enabled? See https://docs.fedoraproject.org/en-US/epel/#_el8 for details. libknet1 is shipped in CRB in RHEL 8, and I've confirmed that RHEL 8.6 is currently carrying 1.22-1.el8, so with https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-33f81dbb7e this _should_ work (and I've verified it's working as expected on Alma Linux 8).

Comment 9 Stephen John Smoogen 2022-09-06 12:57:10 UTC
As far as I can tell on the Red Hat CDN, the 8.6 tree only has 

```
Name        : libknet1-devel
Version     : 1.22
Release     : 1.el8
Architecture: x86_64
Install Date: (not installed)
Group       : Unspecified
Size        : 160639
License     : LGPLv2+
Signature   : RSA/SHA256, Fri 17 Sep 2021 07:17:12 GMT, Key ID 199e2f91fd431d51
Source RPM  : kronosnet-1.22-1.el8.src.rpm
Build Date  : Thu 16 Sep 2021 09:53:46 GMT
Build Host  : x86-038.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://www.kronosnet.org
Summary     : Kronosnet core switching implementation (developer files)
Description :
The whole kronosnet core is implemented in this library.
Please refer to the not-yet-existing documentation for further
information.

```

The only 1.24 I see is in powertools and channels for future 8.7

Comment 10 Brian J. Murrell 2022-09-06 13:04:39 UTC
I didn't have powertools enabled.  Enabling it made the upgrade successful.

Comment 11 Fedora Update System 2022-09-07 08:18:16 UTC
FEDORA-EPEL-NEXT-2022-5a4e39b30a has been submitted as an update to Fedora EPEL 8 Next. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2022-5a4e39b30a

Comment 12 Fedora Update System 2022-09-07 11:30:37 UTC
FEDORA-EPEL-NEXT-2022-5a4e39b30a has been pushed to the Fedora EPEL 8 Next testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2022-5a4e39b30a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-09-15 02:48:09 UTC
FEDORA-EPEL-NEXT-2022-5a4e39b30a has been pushed to the Fedora EPEL 8 Next stable repository.
If problem still persists, please make note of it in this bug report.