-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnf update local file doesn't work as expected #722
Comments
Actually my last paragraph is not correct. The new package was installable using
So I think dnf is wrong here. |
Also downgrading doesn't work, with equally weird message:
(even |
Hi, it seems as an another consequence of the change of |
Yes it works if I add that. I don't understand what the |
There are situations where you want to keep installing updates for a given installed package only from the same provider it was installed from. Setting this option to But anyway, you are right that user should be provided with some useful explanation, although this is hard for dnf as the decision is made by the 3rd party component - the solver. We will definitely discuss this issue on our following team meeting. |
We could always ignore sticky vendors when you're installing a local package, as that's effectively equivalent to requesting an explicit package (which should be always allowed). FWIW, Zypper does it this way too, so it would be consistent handling of this capability. |
I'm seeing this too when trying to install rpms built in mock. With |
For vendor change implementation we could loot at zipper. There is a related bugzilla on DNF - Bug 1890505 - [RFE] Configuration for equivalent vendors for "vendor stickiness" |
Oh that would be great to have implemented! |
Fix rpm-software-management#466 See rpm-software-management#363 Actually, it still doesn't work completely but this particular issue is fixed. I am now getting: Auto-installing packages: sudo dnf install -y /tmp/tito/noarch/tito-0.6.24-1.git.0.2a15b8c.fc39.noarch.rpm ... Failed to resolve the transaction: Problem: problem with installed package - cannot install both tito-0.6.24-1.git.0.2a15b8c.fc39.noarch and tito-0.6.24-2.fc39.noarch - conflicting requests Which seems to be fixed in the dnf5 main branch: rpm-software-management/dnf5#722
Fix rpm-software-management#466 See rpm-software-management#363 Actually, it still doesn't work completely but this particular issue is fixed. I am now getting: Auto-installing packages: sudo dnf install -y /tmp/tito/noarch/tito-0.6.24-1.git.0.2a15b8c.fc39.noarch.rpm ... Failed to resolve the transaction: Problem: problem with installed package - cannot install both tito-0.6.24-1.git.0.2a15b8c.fc39.noarch and tito-0.6.24-2.fc39.noarch - conflicting requests Which seems to be fixed in the dnf5 main branch: rpm-software-management/dnf5#722
Fix #466 See #363 Actually, it still doesn't work completely but this particular issue is fixed. I am now getting: Auto-installing packages: sudo dnf install -y /tmp/tito/noarch/tito-0.6.24-1.git.0.2a15b8c.fc39.noarch.rpm ... Failed to resolve the transaction: Problem: problem with installed package - cannot install both tito-0.6.24-1.git.0.2a15b8c.fc39.noarch and tito-0.6.24-2.fc39.noarch - conflicting requests Which seems to be fixed in the dnf5 main branch: rpm-software-management/dnf5#722
I have this installed now:
and I built a local update for
libisofs
, but it cannot be updated and the messages are weird:I suspect this is caused because the new package has impossible to satisfy dependencies, but it should say that (if that's the case).
The text was updated successfully, but these errors were encountered: