Bug 1262822 - dnf removes extra packages
dnf removes extra packages
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
rawhide
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-14 08:20 EDT by Alexander Todorov
Modified: 2015-09-16 07:25 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-16 07:25:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alexander Todorov 2015-09-14 08:20:12 EDT
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 07:25:17 EDT
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.