Bug 1262822 - dnf removes extra packages
Summary: dnf removes extra packages
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-14 12:20 UTC by Alexander Todorov
Modified: 2015-09-16 11:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-16 11:25:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2015-09-14 12:20:12 UTC
Description of problem:


# dnf remove kernel-debug-devel
Dependencies resolved.
============================================================================================================================================================================
 Package                                    Arch                           Version                                                    Repository                       Size
============================================================================================================================================================================
Removing:
 dyninst                                    x86_64                         9.0.3-1.fc24                                               @System                         9.9 M
 kernel-debug-devel                         x86_64                         4.2.0-0.rc8.git3.1.fc24                                    @System                          37 M
 kernel-debug-devel                         x86_64                         4.2.0-1.fc24                                               @System                          37 M
 libdwarf                                   x86_64                         20150507-2.fc23                                            @System                         325 k
 mokutil                                    x86_64                         1:0.2.0-3.fc23                                             @System                          75 k
 systemtap                                  x86_64                         2.9-0.20150831gitca9905a.fc24.1                            @System                          30 k
 systemtap-client                           x86_64                         2.9-0.20150831gitca9905a.fc24.1                            @System                         9.7 M
 systemtap-devel                            x86_64                         2.9-0.20150831gitca9905a.fc24.1                            @System                         6.0 M
 systemtap-runtime                          x86_64                         2.9-0.20150831gitca9905a.fc24.1                            @System                         772 k

Transaction Summary
============================================================================================================================================================================
Remove  9 Packages

Installed size: 100 M
Is this ok [y/N]: n
Operation aborted.

[root@rhevh-x3650-01-g3 ~]# rpm -q dnf
dnf-1.1.1-2.fc24.noarch


as far as I can see systemtap and dyninst don't require kernel so shouldn't be removed. Please investigate.

Comment 1 Michal Luscon 2015-09-16 11:25:17 UTC
You probably hit on http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#clean-requirements-on-remove-on-by-default. If it is not your case, feel free to reopen.


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