Bug 1321323 - DNF wants to remove unrelated packages when removing libgit2.
Summary: DNF wants to remove unrelated packages when removing libgit2.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kf5-ktexteditor
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Vrátil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-25 13:37 UTC by Barry Scott
Modified: 2016-03-31 13:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-31 13:22:39 UTC
Type: Bug


Attachments (Terms of Use)
Output of rpm -q -a (89.74 KB, text/plain)
2016-03-25 13:37 UTC, Barry Scott
no flags Details

Description Barry Scott 2016-03-25 13:37:17 UTC
Created attachment 1140312 [details]
Output of rpm -q -a

Description of problem:

I wish to remove libgit2 but DNF wants to remove the following packages:
$ cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=false
$ dnf remove libgit2
Dependencies resolved.
=======================================================================================================================================================
 Package                                          Arch                        Version                              Repository                     Size
=======================================================================================================================================================
Removing:
 kde-print-manager                                x86_64                      15.12.1-1.fc23                       @updates                      772 k
 kde-print-manager-libs                           x86_64                      15.12.1-1.fc23                       @updates                      586 k
 kf5-ktexteditor                                  x86_64                      5.19.0-1.fc23                        @updates                       13 M
 kf5-ktexteditor-devel                            x86_64                      5.19.0-1.fc23                        @updates                      305 k
 ktp-auth-handler                                 x86_64                      15.12.1-1.fc23                       @updates                      267 k
 ktp-common-internals                             x86_64                      15.12.1-1.fc23                       @updates                      2.5 M
 ktp-contact-list                                 x86_64                      15.12.1-1.fc23                       @updates                      581 k
 ktp-contact-runner                               x86_64                      15.12.1-1.fc23                       @updates                      104 k
 ktp-filetransfer-handler                         x86_64                      15.12.1-1.fc23                       @updates                      173 k
 ktp-kded-integration-module                      x86_64                      15.12.1-1.fc23                       @updates                      397 k
 ktp-send-file                                    x86_64                      15.12.1-1.fc23                       @updates                       91 k
 ktp-text-ui                                      x86_64                      15.12.1-1.fc23                       @updates                      2.5 M
 kwrite                                           x86_64                      15.12.1-2.fc23                       @updates                      209 k
 libgit2                                          x86_64                      0.23.4-1.fc23                        @updates                      973 k
 libgit2-devel                                    x86_64                      0.23.4-1.fc23                        @updates                      748 k
 plasma-desktop                                   x86_64                      5.5.5-2.fc23                         @updates                       27 M
 plasma-workspace                                 x86_64                      5.5.5-4.fc23                         @updates                       30 M
 plasma-workspace-drkonqi                         x86_64                      5.5.5-4.fc23                         @updates                      4.9 M
 sddm-breeze                                      noarch                      5.5.5-4.fc23                         @updates                      1.2 M

Transaction Summary
=======================================================================================================================================================
Remove  19 Packages


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

dnf-1.1.7-2.fc23.noarch

Actual results:


Expected results:

Only libgit2 is removed not the KDE desktop.


Additional info:

Comment 1 Barry Scott 2016-03-25 13:47:16 UTC
I found the dependency I had missed. kf5-ktexteditor uses libgit2.

I'm still surprised that this remove would remove the plasma-desktop
and leave me with a broken isntallation.

Comment 2 Michal Luscon 2016-03-31 13:06:52 UTC
Please add recommends on libgit2 into kf5-ktexteditor if it's not a hard requirement.

Comment 3 Rex Dieter 2016-03-31 13:22:39 UTC
It is a hard requirement, kf5-ktexteditor links libgit2


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