Hide Forgot
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:
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.
Please add recommends on libgit2 into kf5-ktexteditor if it's not a hard requirement.
It is a hard requirement, kf5-ktexteditor links libgit2