perl-net-ssh and perl-net-sftp install issues

Latest response

Hi All,

There is a requirement from our applications team to have perl-net-sftp and perl-net-sftp-foreign installed.

The server in question is a RedHat 6.5 Build:

[root@lpadts01 tmp]# uname -a
Linux lpadts01 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@lpadts01 tmp]#
[root@lpadts01 tmp]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)

I have downloaded:

perl-Net-SSH-0.09-18.fc23.noarch.rpm
perl-Net-SFTP-0.10-20.fc24.noarch.rpm
perl-Net-SFTP-Foreign-1.77-1.fc24.noarch.rpm

from EPEL......installation of perl-Net-SFTP-Foreign-1.77-1.fc24.noarch.rpm was fine, however when installing perl-Net-SFTP-0.10-20.fc24.noarch.rpm:

[root@lpadts01 tmp]# rpm -ivh perl-Net-SFTP-0.10-20.fc24.noarch.rpm
error: Failed dependencies:
perl(:MODULE_COMPAT_5.22.0) is needed by perl-Net-SFTP-0.10-20.fc24.noarch
perl(Net::SSH::Perl) >= 1.24 is needed by perl-Net-SFTP-0.10-20.fc24.noarch
perl(Net::SSH::Perl::Buffer) is needed by perl-Net-SFTP-0.10-20.fc24.noarch
perl(Net::SSH::Perl::Constants) is needed by perl-Net-SFTP-0.10-20.fc24.noarch
perl(Net::SSH::Perl::Util) is needed by perl-Net-SFTP-0.10-20.fc24.noarch

The dependency that is concerning me is "perl(Net::SSH::Perl) >= 1.24 is needed by perl-Net-SFTP-0.10-20.fc24.noarch" as it appears to require a higher version of perl-net-ssh which I cant find on EPEL, let alone any of the other dependencies.

I am unable to setup EPEL as a repo as the server is in a DMZ and wll never be allowed to communicate outside of this due to strict business requirements.

Can anyone help before I murder the application team for asking for it :)

Thanks

Lawrence

Responses

It appears from the package naming you have above that you're using the packages intended for Fedora 23 or 24. The ends of the package names show things like:
fc23.noarch.rpm
fc24.noarch.rpm

You should not install Fedora versioned packages on your RHEL system as they are not intended for it.
The EPEL is provided by the Fedora project but does have packages available for RHEL (and CentOS of same version):

If you go to the Wiki page at:
https://fedoraproject.org/wiki/EPEL
You'll see down the page a heading "What packages and versions are available in EPEL? " Beneath that heading you'll see links for the various EPEL versions that equate to the RHEL/CentOS versions (e.g. EPEL6 is for RHEL6/CentOS6). You'll also see it has links for different architectures (e.g. i386 for 32 bit, x86_64 for 64 bit) as well as the sources. You should be able to click on the one you want and then click on the letters at top of the screen it takes you to (e.g. "P" for Perl) to see lists of packages relevant to your system.

Doing that for x86_64 for RHEL6 and choosing P takes you to link with many Perl packages:
https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/letter_p.group.html

Thanks Jeffrey,

Awesome reply I really appreciate it. Looks like there is perl-net-ssh available but not perl-net-sftp.

Anyhow, I have since told the apps team to figure out another way....they can use the native SFTP instead of me wasting more time :)

Thanks again!

Lawrence

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.