Bug 1282250 - RFE: don't consider remove operations as successful transactions
Summary: RFE: don't consider remove operations as successful transactions
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
: 1290263 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-15 19:29 UTC by Marco Motta
Modified: 2016-01-04 19:53 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-12-22 21:59:45 UTC


Attachments (Terms of Use)

Description Marco Motta 2015-11-15 19:29:00 UTC
How reproducible:

From Fedora 23:
# dnf distro-sync --releasever 22 --allowerasing
(download of many GB of rpm)
Effect: package xxx conflict with yyy
...
(I am in a tty, and cannot scroll video)
# dnf remove yyy
# dnf distro-sync --releasever 22 --allowerasing
(download of many GB of rpm, for the same rpm!!!!)
Effect: package xxx2 conflict with yyy2
...
and again, and again...

Version-Release number of selected component (if applicable):

dnf-1.1.3-1.fc23.noarch

Expected results:

rpm already downloaded must be used for the second execution of the same command, when I want install the same package that failed the first time.

Comment 1 Honza Silhan 2015-11-18 14:08:14 UTC
We can exclude `autoremove`, `remove` + operations without RPM transaction (`info`, `list`, ...) to not be considered to keepcache=0 transaction fail caching feature [1].

[1] http://dnf.readthedocs.org/en/latest/conf_ref.html?highlight=keepcache#main-options

Comment 2 Honza Silhan 2015-12-14 12:30:02 UTC
*** Bug 1290263 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2015-12-18 17:47:17 UTC
dnf-plugins-core-0.1.15-1.fc23 dnf-1.1.5-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-c72cd24fa0

Comment 4 Fedora Update System 2015-12-18 17:48:54 UTC
dnf-plugins-core-0.1.15-1.fc22 dnf-1.1.5-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-1bb112ccc6

Comment 5 Fedora Update System 2015-12-19 19:59:45 UTC
dnf-1.1.5-1.fc23, dnf-plugins-core-0.1.15-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update dnf dnf-plugins-core'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-c72cd24fa0

Comment 6 Fedora Update System 2015-12-22 15:35:26 UTC
dnf-1.1.5-1.fc22, dnf-plugins-core-0.1.15-1.fc22 has been pushed to the Fedora 22 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-2015-1bb112ccc6

Comment 7 Fedora Update System 2015-12-22 21:58:59 UTC
dnf-1.1.5-1.fc23, dnf-plugins-core-0.1.15-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-01-04 19:52:17 UTC
dnf-1.1.5-1.fc22, dnf-plugins-core-0.1.15-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.