我正在尝试在ssh2中安装。
但它需要libssh2-1.4.2-2.el6.x86_64.rpm和libssh2-devel-1.4.2-2.el6.x86_64.rpm。
所以我下载并尝试安装,我得到了以下错误
# rpm -ivh libssh2-1.4.2-2.el6.x86_64.rpm libssh2-devel-1.4.2-2.el6.x86_64.rpm
warning: libssh2-1.4.2-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
Preparing... ########################################### [100%]
file /usr/lib64/libssh2.so.1.0.1 from install of libssh2-1.4.2-2.el6.x86_64 conflicts with file from package libssh2-1.4.2-1.el6_6.1.x86_64yum info libssh2输出
Installed Packages
Name : libssh2
Arch : x86_64
Version : 1.4.2
Release : 1.el6_6.1
Size : 318 k
Repo : installed
From repo : rhel-x86_64-server-6
Summary : A library implementing the SSH2 protocol
URL : http://www.libssh2.org/
License : BSD
Description : libssh2 is a library implementing the SSH2 protocol as defined by
: Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
: SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
: SECSH-DHGEX(04), and SECSH-NUMBERS(10).
Available Packages
Name : libssh2
Arch : i686
Version : 1.4.2
Release : 1.el6
Size : 124 k
Repo : DVD
Summary : A library implementing the SSH2 protocol
URL : http://www.libssh2.org/
License : BSD
Description : libssh2 is a library implementing the SSH2 protocol as defined by
: Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
: SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
: SECSH-DHGEX(04), and SECSH-NUMBERS(10).你能帮我吗?
发布于 2015-11-29 12:39:31
你试着安装两个软件包。通过安装libssh2-1.4.2-2.el6.x86_64.rpm,您可以尝试替换文件/usr/lib64/libssh2.so.1.0.1,该文件也在仍然安装的包libssh2-1.4.2-1.el6_6.1.x86_64中。
使用--upgrade安装更新版本:
rpm -ivh --upgrade libssh2-1.4.2-2.el6.x86_64.rpm libssh2-devel-1.4.2-2.el6.x86_64.rpm也有可能
yum install libssh2-1.4.2-2.el6.x86_64.rpm libssh2-devel-1.4.2-2.el6.x86_64.rpmhttps://unix.stackexchange.com/questions/246164
复制相似问题