Bug 1262822

Summary: dnf removes extra packages
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-16 11:25:17 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:

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.