Bug 1381242

Summary: gdb-7.11.1-86.fc24 package update pulls in gcc and other unwanted packages
Product: [Fedora] Fedora Reporter: David H. Gutteridge <dhgutteridge>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: gbenson, jan.kratochvil, palves, pmuldoon, sergiodj, tom
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 13:42:26 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:

Description David H. Gutteridge 2016-10-03 13:37:37 UTC
Description of problem:

The gdb-7.11.1-86.fc24 update pulls in gcc and other unwanted packages. I mention this in part because I've worked places that have a "no compilers on production machines" security policy. (The other part being, I don't like packages being installed I have no use for.)

Version-Release number of selected component (if applicable):
gdb-7.11.1-86.fc24

How reproducible:
Always

Steps to Reproduce:
1. Run dnf upgrade

Actual results:

Dependencies resolved.
=======================================================================================================================================
 Package                            Arch                       Version                               Repository                   Size
=======================================================================================================================================
Installing:
 cpp                                x86_64                     6.2.1-2.fc24                          updates                     9.0 M
 gcc                                x86_64                     6.2.1-2.fc24                          updates                      20 M
 gcc-gdb-plugin                     x86_64                     6.2.1-2.fc24                          updates                      82 k
 isl                                x86_64                     0.14-5.fc24                           fedora                      482 k
 libmpc                             x86_64                     1.0.2-5.fc24                          fedora                       54 k
Upgrading:
 gdb                                x86_64                     7.11.1-86.fc24                        updates                     3.3 M

Transaction Summary
=======================================================================================================================================
Install  5 Packages
Upgrade  1 Package


Expected results:

gdb is upgraded without pulling in a compiler in the process.

Additional comments:

I don't know if this is an issue with changes to the gdb package's specified dependencies, or more generally related to dnf somehow.

Comment 1 Jan Kratochvil 2016-10-03 13:42:26 UTC
See Bug 1195005 Comment 4 so that DNF does not install those 'Recommends' dependencies. Without such option, for normal systems, this is the expected+wanted behavior.

Comment 2 David H. Gutteridge 2016-10-03 13:58:02 UTC

*** This bug has been marked as a duplicate of bug 1195005 ***