-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
dnf behaves differently depending on installing local rpm or from repo #2087
Comments
Are they really the same package (not only same NEVRA)? For me both variants behave the same - not obsoleting python3-homeassistant. Which is I think correct:
So the installed version of python3-homeassistant is bigger than the obsoleted, thus nothing is obsoleted. |
They are the same as far as I would understand. I downloaded it from https://download.copr.fedorainfracloud.org/results/brianjmurrell/homeassistant/fedora-39-x86_64/07340075-python-hass-nabucasa/python3-hass-nabucasa-0.78.0-0.01.noarch.rpm
Interesting. What else could be different between our reproductions then?
So this would mean that if
How do you figure it's bigger?
? |
Yes, it's not only version, but the whole EVR - see https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages
|
Regarding my attempt to reproduce the issue, this is what I did:
|
And one small note - do not forget about the dist tag ( |
I am finding an odd situation in Fedora 39's DNF. It seems it behaves differently with regard to
Obsoletes:
andConflicts:
based on whether the RPM is installed from a repo or from a local file (with the repo still enabled). Observe:First from the repo:
Yet, when the exact same RPM is downloaded locally and installation is attempted:
As you can see, when installed from a local file, DNF properly makes
python3-hass-nabucasa
replacepython3-homeassistant
but when installing the exact same RPM from the repo, it does not havepython3-hass-nabucasa
replacepython3-homeassistant
.The repo in question here is https://copr.fedorainfracloud.org/coprs/brianjmurrell/homeassistant/.
The text was updated successfully, but these errors were encountered: