【问题】yum安装软件报错ERROR:dbus.proxies

转自:Yum安装报错:ERROR:dbus.proxies

环境:

[红帽企业Linux.6.4.服务器版].rhel-server-6.4-x86_64-dvd(ED2000.COM).iso

安装时选用Software Development Workstation

问题描述:

yum安装DHCP服务时输出

[root@localhost yum.repos.d]# yum list | grep dhcp
dhcp-common.x86_64                      12:4.1.1-34.P1.el6                   @anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4
dhcp.x86_64                             12:4.1.1-34.P1.el6                   vcd
sblim-cmpi-dhcp.i686                    1.0-1.el6                            vcd
sblim-cmpi-dhcp.x86_64                  1.0-1.el6                            vcd
[root@localhost yum.repos.d]# yum -y install dhcp
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dhcp.x86_64 12:4.1.1-34.P1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                    Arch                         Version                                   Repository                 Size
===================================================================================================================================
Installing:
 dhcp                       x86_64                       12:4.1.1-34.P1.el6                        vcd                       816 k

Transaction Summary
===================================================================================================================================
Install       1 Package(s)

Total download size: 816 k
Installed size: 1.9 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 12:dhcp-4.1.1-34.P1.el6.x86_64                                                                                  1/1 
vcd/productid                                                                                               | 1.7 kB     00:00 ... 
ERROR:dbus.proxies:Introspect error on :1.107:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Unable to send message to PackageKit
  Verifying  : 12:dhcp-4.1.1-34.P1.el6.x86_64                                                                                  1/1 

Installed:
  dhcp.x86_64 12:4.1.1-34.P1.el6                                                                                                   

Complete!
View Code

yum卸载DHCP时

[root@localhost yum.repos.d]# yum -y remove dhcp
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package dhcp.x86_64 12:4.1.1-34.P1.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                    Arch                         Version                                  Repository                  Size
===================================================================================================================================
Removing:
 dhcp                       x86_64                       12:4.1.1-34.P1.el6                       @vcd                       1.9 M

Transaction Summary
===================================================================================================================================
Remove        1 Package(s)

Installed size: 1.9 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : 12:dhcp-4.1.1-34.P1.el6.x86_64                                                                                  1/1 
ERROR:dbus.proxies:Introspect error on :1.107:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Unable to send message to PackageKit
  Verifying  : 12:dhcp-4.1.1-34.P1.el6.x86_64                                                                                  1/1 

Removed:
  dhcp.x86_64 12:4.1.1-34.P1.el6                                                                                                   

Complete!
View Code

这两种情况下都有报错信息

ERROR:dbus.proxies:Introspect error on :1.107:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Unable to send message to PackageKit
View Code

原因分析:

因为是两台不同的机器同时指向同一个YUM源,其中一台机器已经通过yum install xx -y命令成功安装所需软件,而另外一台却不行,可以排除不是YUM源的问题,也不是网络的问题,那肯定是本机的问题了,
查看日志发现PackageKit这个词频繁出现,所以目标定位在这个PackageKit上面,查阅得知PackageKit是一款新的Linux包管理器,但是既然这边包这个错误,删除之是否可行?

解决办法:

yum remove PackageKit* -y //删除该管理器

转载于:https://www.cnblogs.com/kelamoyujuzhen/p/9519902.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这个错误提示表明在安装paddle时遇到了缺失libssl.so.1.1的问题。解决这个问题的方法是创建一个软链接将libssl.so.1.1链接到正确的路径上。你可以使用以下命令来创建这个软链接: ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1 ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1 此外,你还可以尝试将LD_LIBRARY_PATH环境变量添加到你的系统配置中,以确保系统能够正确找到库文件。你可以使用以下命令将这个路径添加到LD_LIBRARY_PATH中: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/build/toolchain/lin64/openssl-1.0.2p/lib 如果你是在CentOS 7上安装paddle并遇到了这个错误,你可以使用以下步骤来升级openssl: 1. 下载openssl源码包: wget https://www.openssl.org/source/openssl-1.0.2o.tar.gz 2. 解压源码包: tar -xf openssl-1.0.2o.tar.gz cd openssl-1.0.2o/ 3. 安装依赖: yum remove -y openssl-devel yum install -y zlib perl 4. 配置和编译安装openssl: ./config --prefix=/usr/local/openssl shared zlib make depend make && make install 5. 备份旧的openssl文件: mv /usr/bin/openssl /root/openssl mv /usr/include/openssl/ /usr/include/openssl_bak 6. 配置系统路径: echo "/usr/local/openssl/lib" >> /etc/ld.so.conf ldconfig -v ln -s /usr/local/openssl/bin/openssl /usr/bin/ ln -s /usr/local/openssl/include/openssl/ /usr/include/ 7. 测试openssl版本: openssl version 输出应该显示为:"OpenSSL 1.0.2o 27 Mar 2018" 以上是解决libssl.so.1.1缺失的问题的方法。你可以尝试执行这些步骤来解决你遇到的错误。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值