Bug 1486733 - Installing net-snmp-perl now pulls in 22 -devel packages
Summary: Installing net-snmp-perl now pulls in 22 -devel packages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: net-snmp
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Josef Ridky
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-30 12:26 UTC by Trevor Hemsley
Modified: 2018-04-10 17:56 UTC (History)
6 users (show)

Fixed In Version: net-snmp-5.7.2-29.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-04-10 17:55:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch of spec file (1.02 KB, patch)
2017-08-31 07:57 UTC, Josef Ridky
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0956 0 None None None 2018-04-10 17:56:25 UTC

Description Trevor Hemsley 2017-08-30 12:26:34 UTC
Description of problem:
Installation of net-snmp-perl now pulls in 22 -devel packages that are not wanted or required.

Version-Release number of selected component (if applicable):
net-snmp-perl-5.7.2-28.el7.x86_64

How reproducible:
Always since 7.4

Steps to Reproduce:
1. yum install net-snmp-perl
2. 
3.

Actual results:
Installs net-snmp-perl + umpty -devel packages that should not be present

Expected results:
On 7.3 this installs just net-snmp-perl and no -devel packages are included.

Additional info:
Problem caused by bz 1438875 where the comment was added "I am not sure whether it would be appreciated".

You are right, it's not! :-)

A better method would have been to move the required net-snmp-config* binaries out of the net-snmp-devel package and into one of the already installed packages or to move net-snmp-cert into the net-snmp-devel package so that users that require it will be the ones who get the unnecessary 22 -devel packages.

Comment 2 Josef Ridky 2017-08-31 07:57:21 UTC
Created attachment 1320490 [details]
Patch of spec file

Solution of this issue could be move net-snmp-config from devel package to general (as in proposed patch file).

This change will avoid to install additional packages, which aren't required by net-snmp-python.

Comment 15 Remi Collet 2018-01-23 12:14:20 UTC
This change breaks build of package relying to net-snmp-devel to provide net-snmp-config

configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

Can you please change net-snmp-devel to require net-snmp ?

Comment 24 errata-xmlrpc 2018-04-10 17:55:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0956


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