Bug 2452216

Summary: dnf system-upgrade to Fedora 44 fails because net-snmp-libs from Fedora 43 is not considered part of the distupgrade repository when openhpi is installed
Product: [Fedora] Fedora Reporter: Lukas Ruzicka (Red Hat) <lruzicka>
Component: net-snmpAssignee: Josef Ridky <jridky>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 44CC: jridky, mhjacks, ochal.christophe, rhbz, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Ruzicka (Red Hat) 2026-03-27 11:17:12 UTC
Attempting to upgrade a Fedora 43 system to Fedora 44 using `dnf system-upgrade download --releasever=44` fails during dependency resolution when package 

`openhpi-3.8.0-32.fc43.x86_64` is installed.

The transaction fails with:

```text
Problem: installed package openhpi-3.8.0-32.fc43.x86_64 requires libnetsnmp.so.40()(64bit), but none of the providers can be installed
 - net-snmp-libs-1:5.9.4-18.fc43.x86_64 does not belong to a distupgrade repository
 - problem with installed package
```

The package `net-snmp-libs` is installed on the system and visible in package search results, but `dnf system-upgrade` still refuses the transaction. Enabling `updates-testing` for Fedora 44 does not change the result. Using `--allowerasing` solves the situation and I can update normally.


Reproducible: Always

Steps to Reproduce:
1. Start with a Fedora 43 x86_64 system Server DVD ISO.
2. Use `dnf update --refresh` to update to the latest packages.
3. Reboot.
4. Try upgrading to Fedora 44:
   ```bash
   dnf system-upgrade download --releasever=44
   ```
5. Retry with testing enabled:

   ```bash
   dnf system-upgrade download --releasever=44 --enablerepo=updates-testing
   ```
Actual Results:
The upgrade fails with unresolved dependency handling around `openhpi` and `libnetsnmp.so.40()(64bit)`. `dnf` reports that installed `net-snmp-libs-1:5.9.4-18.fc43.x86_64` “does not belong to a distupgrade repository”.


Expected Results:
One of these should happen:

* the upgrade succeeds with a valid Fedora 44 provider for the required dependency, or
* `openhpi` is upgraded/replaced/removed cleanly as part of the transaction, or
* `dnf` provides a clearer upgrade path for the affected package set.


Additional Information:

Comment 1 Lukas Ruzicka (Red Hat) 2026-03-27 11:26:35 UTC
The above problem shows when I download and install the official Fedora DVD 43 iso, update the system and try to upgrade to F44.
When my starting point is the official Fedora Netinst 43 ISO, I do not have any problems.

Comment 2 Adam Williamson (Red Hat non-Fedora) 2026-03-28 01:21:18 UTC
Basically, something needs to obsolete openhpi. Maybe net-snmp , maybe fedora-obsolete-packages .