yum安装软件出错“You could try running: package-cleanup --problems”

发布于 2022-09-03 23:47:53 字数 3159 浏览 15 评论 0

RHN5.8版本
内网自建Yum本地服务器
rpm -Va --nofiles --nodigest执行之后,报错
yum-rhn-plugin版本太低
于是升级版本,通过yum安装,仍然报错
现在在尝试安装依赖过程中...
请问这个是什么原因造成的

我自己搭建的本地的yum源,然后把一些软件包直接丢进yum文件夹里了,是不是这里造成了重复?

 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

具体报错为:

Examining zabbix-agent-2.4.8-1.el5.x86_64.rpm: zabbix-agent-2.4.8-1.el5.x86_64
Marking zabbix-agent-2.4.8-1.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package zabbix-agent.x86_64 0:2.4.8-1.el5 set to be updated
---> Package zabbix-server-mysql.x86_64 0:2.4.8-1.el5 set to be updated
--> Processing Dependency: zabbix-server = 2.4.8-1.el5 for package: zabbix-server-mysql
--> Processing Dependency: libiksemel.so.3()(64bit) for package: zabbix-server-mysql
--> Processing Dependency: libssh2.so.1()(64bit) for package: zabbix-server-mysql
---> Package zabbix-web-mysql.x86_64 0:2.4.8-1.el5 set to be updated
--> Processing Dependency: zabbix-web = 2.4.8-1.el5 for package: zabbix-web-mysql
--> Finished Dependency Resolution
zabbix-server-mysql-2.4.8-1.el5.x86_64 from /zabbix-server-mysql-2.4.8-1.el5.x86_64 has depsolving problems
  --> Missing Dependency: libssh2.so.1()(64bit) is needed by package zabbix-server-mysql-2.4.8-1.el5.x86_64 (/zabbix-server-mysql-2.4.8-1.el5.x86_64)
zabbix-web-mysql-2.4.8-1.el5.x86_64 from /zabbix-web-mysql-2.4.8-1.el5.x86_64 has depsolving problems
  --> Missing Dependency: zabbix-web = 2.4.8-1.el5 is needed by package zabbix-web-mysql-2.4.8-1.el5.x86_64 (/zabbix-web-mysql-2.4.8-1.el5.x86_64)
zabbix-server-mysql-2.4.8-1.el5.x86_64 from /zabbix-server-mysql-2.4.8-1.el5.x86_64 has depsolving problems
  --> Missing Dependency: zabbix-server = 2.4.8-1.el5 is needed by package zabbix-server-mysql-2.4.8-1.el5.x86_64 (/zabbix-server-mysql-2.4.8-1.el5.x86_64)
zabbix-server-mysql-2.4.8-1.el5.x86_64 from /zabbix-server-mysql-2.4.8-1.el5.x86_64 has depsolving problems
  --> Missing Dependency: libiksemel.so.3()(64bit) is needed by package zabbix-server-mysql-2.4.8-1.el5.x86_64 (/zabbix-server-mysql-2.4.8-1.el5.x86_64)
Error: Missing Dependency: zabbix-server = 2.4.8-1.el5 is needed by package zabbix-server-mysql-2.4.8-1.el5.x86_64 (/zabbix-server-mysql-2.4.8-1.el5.x86_64)
Error: Missing Dependency: libiksemel.so.3()(64bit) is needed by package zabbix-server-mysql-2.4.8-1.el5.x86_64 (/zabbix-server-mysql-2.4.8-1.el5.x86_64)
Error: Missing Dependency: zabbix-web = 2.4.8-1.el5 is needed by package zabbix-web-mysql-2.4.8-1.el5.x86_64 (/zabbix-web-mysql-2.4.8-1.el5.x86_64)
Error: Missing Dependency: libssh2.so.1()(64bit) is needed by package zabbix-server-mysql-2.4.8-1.el5.x86_64 (/zabbix-server-mysql-2.4.8-1.el5.x86_64)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

作妖 2022-09-10 23:47:53

在本地源的配置文件,配置

gpgcheck = 0

再试试更新源

yum clean all
yum repolist all
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文