問題:
使用yum install somexx -y的時候,執行到
Installed products updated.
報如下錯誤:
ERROR:dbus.proxies:Introspect error on :1.261:/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
問題排查:
因為是兩台不同的機器同時指向同一個YUM源,其中一台機器已經通過yum install xx -y命令成功安裝所需軟件,而另外一台卻不行,可以排除不是YUM源的問題,也不是網絡的問題,那肯定是本機的問題了,
查看日志發現PackageKit這個詞頻繁出現,所以目標定位在這個PackageKit上面,查閱得知PackageKit是一款新的Linux包管理器,但是既然這邊包這個錯誤,刪除之是否可行?
問題解決
yum remove PackageKit* -y //刪除該管理器