You could try using --skip-broken to work around the problem Found 6 pre-existing rpmdb problem(s)

已加载插件:fastestmirror, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
设置安装进程
Loading mirror speeds from cached hostfile
http://nginx.org/packages/rhel/4/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
尝试其他镜像。
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn’t help to resolve this issue please open a ticket with Red Hat Support.

解决依赖关系
–> 执行事务检查
—> Package nginx.x86_64 1:1.14.2-1.el7_4.ngx will be 安装
–> 处理依赖关系 openssl >= 1.0.2,它被软件包 1:nginx-1.14.2-1.el7_4.ngx.x86_64 需要
–> 处理依赖关系 systemd,它被软件包 1:nginx-1.14.2-1.el7_4.ngx.x86_64 需要
–> 处理依赖关系 libcrypto.so.10(OPENSSL_1.0.2)(64bit),它被软件包 1:nginx-1.14.2-1.el7_4.ngx.x86_64 需要
–> 处理依赖关系 libc.so.6(GLIBC_2.17)(64bit),它被软件包 1:nginx-1.14.2-1.el7_4.ngx.x86_64 需要
–> 处理依赖关系 libpcre.so.1()(64bit),它被软件包 1:nginx-1.14.2-1.el7_4.ngx.x86_64 需要
–> 完成依赖关系计算
错误:Package: 1:nginx-1.14.2-1.el7_4.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
错误:Package: 1:nginx-1.14.2-1.el7_4.ngx.x86_64 (nginx)
Requires: libpcre.so.1()(64bit)
错误:Package: 1:nginx-1.14.2-1.el7_4.ngx.x86_64 (nginx)
Requires: libc.so.6(GLIBC_2.17)(64bit)
错误:Package: 1:nginx-1.14.2-1.el7_4.ngx.x86_64 (nginx)
Requires: openssl >= 1.0.2
已安装: openssl-1.0.1e-57.el6.x86_64 (@base)
openssl = 1.0.1e-57.el6
错误:Package: 1:nginx-1.14.2-1.el7_4.ngx.x86_64 (nginx)
Requires: systemd
You could try using --skip-broken to work around the problem
** Found 6 pre-existing rpmdb problem(s), ‘yum check’ output follows:
PackageKit-0.5.8-21.el6.x86_64 has missing requires of PackageKit-yum = (‘0’, ‘0.5.8’, ‘21.el6’)
PackageKit-0.5.8-21.el6.x86_64 has missing requires of PackageKit-yum-plugin = (‘0’, ‘0.5.8’, ‘21.el6’)
anaconda-13.21.215-1.el6.x86_64 has missing requires of anaconda-yum-plugins
anaconda-13.21.215-1.el6.x86_64 has missing requires of yum-utils >= (‘0’, ‘1.1.11’, ‘3’)
python-urlgrabber-3.9.1-11.el6.noarch is a duplicate with python-urlgrabber-3.9.1-9.el6.noarch
rhn-check-1.0.0.1-16.el6.noarch has missing requires of yum-rhn-plugin >= (‘0’, ‘0.9.1’, ‘35’)
解决方法:

yum clean all
rpm --rebuilddb
yum update

执行上述三条命令即可

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值