问一下用rpm安装oblogproxy的时候遇到 Failed dependencies怎么处理

【产品名称】oblogproxy

【产品版本】1.0.0

【问题描述】

rpm -ivh oblogproxy-1.0.0-1.el7.x86_64.rpm

warning: oblogproxy-1.0.0-1.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID e9b4a7aa: NOKEY

error: Failed dependencies:

devdeps-libaio >= 0.3.112 is needed by oblogproxy-1.0.0-1.el7.x86_64

devdeps-openssl-static >= 1.0.1e is needed by oblogproxy-1.0.0-1.el7.x86_64

操作系统版本

CentOS Linux release 7.6.1810 (Core)


服务器在内网,不能联网

oblogproxy依赖了我们提供的依赖,需要通过我们的源来安装相关依赖,请按照如下步骤进行操作:

# 安装yum源

sudo yum install -y yum-utils

sudo yum-config-manager \

--add-repo \

https://mirrors.aliyun.com/oceanbase/OceanBase.repo


或者在/etc/yum.repos.d目录下放置仓库文件:wget https://mirrors.aliyun.com/oceanbase/OceanBase.repo


# 通过yum安装oblogproxy

yum install oblogproxy

查看依赖:rpm -qpR oblogproxy-1.0.0-1.el7.x86_64.rpm

如果只是想解决oblogproxy的依赖问题,可以先把相关依赖包下载好也成:

wget https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/oblogproxy-1.0.0-1.el7.x86_64.rpm

wget https://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/oceanbase-ce-devel-3.1.1-4.el7.x86_64.rpm

wget https://mirrors.aliyun.com/oceanbase/development-kit/el/7/x86_64/devdeps-libaio-0.3.112-3.el7.x86_64.rpm

wget https://mirrors.aliyun.com/oceanbase/development-kit/el/7/x86_64/devdeps-openssl-static-1.0.1e-3.el7.x86_64.rpm


rpm -ivh devdeps-libaio-0.3.112-3.el7.x86_64.rpm devdeps-openssl-static-1.0.1e-3.el7.x86_64.rpm oceanbase-ce-devel-3.1.1-4.el7.x86_64.rpm oblogproxy-1.0.0-1.el7.x86_64.rpm

1 个赞

收到,谢谢