Bug 1154741

Summary: CPAN dependency missing
Product: Red Hat Enterprise Linux 7 Reporter: Luigi Rosa <lists>
Component: perlAssignee: perl-maint-list
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0CC: lists, ppisar
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-21 05:29:14 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:
Embargoed:

Description Luigi Rosa 2014-10-20 16:24:24 UTC
In a minimal install if I install perl-CPAN the first time I execute cpan to download a module, the automatic configuration of CPAN fails for missing Time/HiRes

The package perl-Time-HiRes should be installed as a dependency of perl-CPAN

The exact error is:

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Trying to fetch a mirror list from the Internet
Fetching with HTTP::Tiny:
http://www.perl.org/CPAN/MIRRORED.BY

Looking for CPAN mirrors near you (please be patient)
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /root) at /usr/share/perl5/Net/Ping.pm line 313.

Comment 2 Petr Pisar 2014-10-21 05:29:14 UTC
Thank you for this report. We are aware of this insufficiency. See bug #1122368.

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