码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2018-08-22 20:34:38      阅读:485      评论:0      收藏:0      [点我收藏+]

标签:sum   process   dha   cti   两种   loaded   arc   develop   download   

转自: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 //删除该管理器

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

标签:sum   process   dha   cti   两种   loaded   arc   develop   download   

原文地址:https://www.cnblogs.com/kelamoyujuzhen/p/9519902.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!