repoforge/rpms — Issue #79: imapsync Missing Dependency
Author: hm2k
Created: 2011-10-27 19:47:48+00:00
State: open

Not the most ideal situation:

[root@xxx ~]# yum install imapsync --enable=rpmforge
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package imapsync.noarch 0:1.350-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: perl(Date::Manip) for package: imapsync
--> Processing Dependency: perl(Digest::HMAC_MD5) for package: imapsync
--> Processing Dependency: perl(Term::ReadKey) for package: imapsync
--> Processing Dependency: perl(Mail::IMAPClient) >= 3.19 for package: imapsync
--> Processing Dependency: perl(Mail::IMAPClient) for package: imapsync
--> Processing Dependency: perl(IO::Socket::SSL) for package: imapsync
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Date::Manip) is needed by package imapsync
Error: Missing Dependency: perl(Digest::HMAC_MD5) is needed by package imapsync
Error: Missing Dependency: perl(Term::ReadKey) is needed by package imapsync
Error: Missing Dependency: perl(Mail::IMAPClient) >= 3.19 is needed by package imapsync
Error: Missing Dependency: perl(Mail::IMAPClient) is needed by package imapsync
Error: Missing Dependency: perl(IO::Socket::SSL) is needed by package imapsync

Considering that these modules are already installed, eg:

[root@xxx scripts]# perlinstaller Date::Manip
Checking C compiler....C compiler (/usr/bin/cc) OK (cached Fri May 13 04:21:14 2011)....Done
CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
Method: Using Perl Expect, Installer: cpanm
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.009
You have /bin/tar: tar (GNU tar) 1.14
Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirrors.uk2.net using pureperl...(62800.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(62000.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.mirror.versatel.nl using pureperl...(60500.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(58500.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.etla.org using pureperl...(19700.00 bytes/s)...Done
Five usable mirrors located
Ping:1 (ticks) Testing connection speed to 85.13.201.2 using pureperl...(57900.00 bytes/s)...Done
Ping:7 (ticks) Testing connection speed to 69.90.250.34 using pureperl...(6433.33 bytes/s)...Done
Ping:8 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(7237.50 bytes/s)...Done
Three usable fallback mirrors located
Mirror Check passed for cpan.mirrors.uk2.net (/index.html)
Searching on cpanmetadb ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/Date::Manip?cpanel_version=11.30.4.6&cpanel_tier=current (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/cpanmetadb.cpanel.net......searching for mirrors (mirror search attempt 1/3)......5 usable mirrors located. (less then expected)......mirror search success......connecting to 69.90.251.164...@69.90.251.164......connected......receiving...100%......request success......Done
Searching Date::Manip on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/Date::Manip?cpanel_version=11.30.4.6&cpanel_tier=current) ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/Date::Manip?cpanel_version=11.30.4.6&cpanel_tier=current (connected:1).......(request attempt 1/12)...@69.90.251.164......connected......receiving...100%......request success......Done
Source: fastest CPAN mirror ... Date::Manip is up to date. (6.25)

...

[root@xxx scripts]# perlinstaller Mail::IMAPClient
Checking C compiler....C compiler (/usr/bin/cc) OK (cached Fri May 13 04:21:14 2011)....Done
CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
Method: Using Perl Expect, Installer: cpanm
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.009
You have /bin/tar: tar (GNU tar) 1.14
Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirrors.uk2.net using pureperl...(62800.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(62000.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.mirror.versatel.nl using pureperl...(30250.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(58500.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.etla.org using pureperl...(29550.00 bytes/s)...Done
Five usable mirrors located
Ping:1 (ticks) Testing connection speed to 85.13.201.2 using pureperl...(57900.00 bytes/s)...Done
Ping:8 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(7237.50 bytes/s)...Done
Ping:7 (ticks) Testing connection speed to 69.90.250.34 using pureperl...(6433.33 bytes/s)...Done
Three usable fallback mirrors located
Mirror Check passed for cpan.mirrors.uk2.net (/index.html)
Searching on cpanmetadb ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/Mail::IMAPClient?cpanel_version=11.30.4.6&cpanel_tier=current (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/cpanmetadb.cpanel.net......searching for mirrors (mirror search attempt 1/3)......5 usable mirrors located. (less then expected)......mirror search success......connecting to 69.90.251.164...@69.90.251.164......connected......receiving...100%......request success......Done
Searching Mail::IMAPClient on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/Mail::IMAPClient?cpanel_version=11.30.4.6&cpanel_tier=current) ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/Mail::IMAPClient?cpanel_version=11.30.4.6&cpanel_tier=current (connected:1).......(request attempt 1/12)...@69.90.251.164......connected......receiving...100%......request success......Done
Source: fastest CPAN mirror ... Mail::IMAPClient is up to date. (3.29)

The imapsync install thinks that these perl modules aren't installed, yet cpanel says they are.