Bug 1279216 - rewrite leaves plugin to use libsolv functionality
Summary: rewrite leaves plugin to use libsolv functionality
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-extras
Version: 26
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-08 16:34 UTC by Orion Poplawski
Modified: 2018-05-03 16:25 UTC (History)
5 users (show)

Fixed In Version: dnf-plugins-core-2.1.5-4.fc28
Clone Of:
Environment:
Last Closed: 2018-05-03 16:25:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2015-11-08 16:34:42 UTC
Description of problem:

dnf leaves lists:

acl-2.2.52-10.fc23.i686

but:

# dnf remove acl
Dependencies resolved.
Error: The operation would result in removing the following protected packages: dnf, systemd.

Version-Release number of selected component (if applicable):
python3-dnf-plugins-extras-leaves-0.0.11-1.fc23.noarch

Steps to Reproduce:
dnf leaves | while read x; do echo $x; echo n | dnf remove $x; done

Actual results:
dnf wants to remove more than just the package specified

Expected results:
dnf only wants to remove the package specified

Comment 1 Honza Silhan 2015-11-18 12:35:51 UTC
Expected results:
dnf leaves lists:
should not list acl (which is requirement of systemd

Comment 2 Igor Gnatenko 2015-12-12 19:24:04 UTC
basesystem-11-1.fc23.noarch
Dependencies resolved.
Error: The operation would result in removing the following protected packages: systemd, dnf.

Comment 3 Fedora Admin XMLRPC Client 2016-07-21 12:40:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2016-11-24 13:12:23 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 '23'.

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 23 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.

Comment 5 Fedora End Of Life 2017-02-28 09:50:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 6 Fedora End Of Life 2018-05-03 08:49:59 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. 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 '26'.

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 26 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.

Comment 7 Orion Poplawski 2018-05-03 16:25:30 UTC
Seems to be working okay with python3-dnf-plugin-leaves-2.1.5-4.fc28.noarch


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