Bug 1446068
Summary: | "dnf update --allowerasing" just removes packages instead of update | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||
Component: | libsolv | Assignee: | Igor Raits <igor.raits> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | dmach, grgoffe, hedayatv, igor.raits, jmracek, mluscon, packaging-team-maint, rpm-software-management, vmukhame, vondruch | ||||
Target Milestone: | --- | Keywords: | Reopened, Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | libsolv-0.7.1-2.fc29 libsolv-0.7.2-1.fc28 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-12-02 08:27:28 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: | |||||||
Attachments: |
|
Description
Vít Ondruch
2017-04-27 08:11:08 UTC
Actually now I noticed that I tried to install EPEL7 packages into my Rawhide, that was the reason for the missing dependencies. But still, update should not result in pure "remove" action. Sounds like bug in libsolv... Vit, could you run dnf with --debugsolver and attach debugdata directory? Created attachment 1275917 [details]
debugdata
Of course I don't have the original environment in that specific state available anymore, but I tried to recreate with a limited test case.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. *** Bug 1484573 has been marked as a duplicate of this bug. *** *** Bug 1634264 has been marked as a duplicate of this bug. *** This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The problem is still valid. Please Igor is there any progress on the issue? I've tried to play with testcase, but all versions of libsolv I've tried report: Results differ: -erase fedora-packager-0.6.0.1-2.fc26.noarch@@System -erase mock-1.3.4-1.fc26.noarch@@System -erase mock-lvm-1.3.4-1.fc26.noarch@@System So either it is bug in dnf/libdnf or it is just producing incorrect testcase. Igor, I'm curious as to how you can close this bug with worksforme when there is apparently a bug still in existence? George... (In reply to George R. Goffe from comment #11) > Igor, > > I'm curious as to how you can close this bug with worksforme when there is > apparently a bug still in existence? > > George... Do you have reproducer? There is an easy reproducer: Find package that requires versioned dependency like git-2.19.2-1.fc29 that requires git-core-2.19.2-1.fc29. Then following command will do the job: sudo dnf upgrade git -x git-core-2.19.2-1.fc29 --allowerasing --best Thanks for reproducer. However, it is interesting: ⋊> ~ sudo dnf update python3-bodhi-client -x python3-bodhi --best --allowerasing --debugsolver --assumeno Last metadata expiration check: 0:02:55 ago on Thu 29 Nov 2018 05:25:34 PM CET. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: python3-bodhi-client noarch 3.11.0-1.fc30 @rawhide 163 k Removing dependent packages: bodhi-client noarch 3.11.0-1.fc30 @rawhide 24 k fedora-packager noarch 0.6.0.2-3.fc30 @rawhide 79 k fedpkg noarch 1.35-2.fc30 @rawhide 201 k Transaction Summary ================================================================================ Remove 4 Packages Freed space: 467 k Operation aborted. ⋊> ~ cat debugdata/rpms/solver.result 17:29:02 erase bodhi-client-3.11.0-1.fc30.noarch@@System erase fedora-packager-0.6.0.2-3.fc30.noarch@@System erase fedpkg-1.35-2.fc30.noarch@@System erase python3-bodhi-client-3.11.0-1.fc30.noarch@@System ⋊> ~ testsolv debugdata/rpms/testcase.t 17:29:10 Results differ: -erase bodhi-client-3.11.0-1.fc30.noarch@@System -erase fedora-packager-0.6.0.2-3.fc30.noarch@@System -erase fedpkg-1.35-2.fc30.noarch@@System -erase python3-bodhi-client-3.11.0-1.fc30.noarch@@System --- I'll look at it. Ok, I can reproduce now with testsolv. Looking. I belive that for proper investigation you need libsolv with https://github.com/openSUSE/libsolv/commit/0302dce36cb5066a5c818d616a047dc93cfd025d. libsolv-0.7.1-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-092ca34d90 libsolv-0.7.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-13fa00525c libsolv-0.7.1-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-13fa00525c libsolv-0.7.1-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-092ca34d90 libsolv-0.7.1-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. libsolv-0.7.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f07d64c532 libsolv-0.7.2-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |