On SuSE 12.2 I'm seeing this failure when I try to install rpms ...
perl(LWP::UserAgent) is needed by
pcp-pmda-elasticsearch-3.10.8-1.x86_64
perl(LWP::UserAgent) is needed by pcp-pmda-nginx-3.10.8-1.x86_64
Now there is apparently no perl-LWP-UserAgent rpm for this SuSE version.
I've installed LWP::UserAgent from CPAN, perl -e 'use LWP::UserAgent' works
as expected but that does not help resolve the rpm issue.
And I see the activemq pmda also uses LWP::UserAgent but does not have a
Requires line in the spec file.
So my questions are ...
1. how should I fix this for the SuSE QA machine?
2. should this sort of dependency really belong in the packaging? We don't
do it at all for dpkg and we cannot do it for tarball, so this really means
the pmda install scripts need to check in the required Perl modules are
present.
3. even if this should be in the rpm packaging, should it not (a) be
consistent and (b) work without surprises?
|