During the operation of the Linux system, the ERROR: dbus error is displayed when installing the yum source. Many people encounter this problem and don’t know how to deal with it. In fact, the solution is very simple. Today, the editor of Huajun will show you how to solve the ERROR: dbus error when installing yum on Linux? I hope you will support and share the carefully selected content. If you like it, get it as soon as possible!

Question:
When using yum install somexx -y, execute
Installed products updated.
The following error is reported:
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
Troubleshooting:
Because two different machines point to the same YUM source at the same time, one of the machines has successfully installed the required software through the yum install xx -y command, but the other machine cannot. You can rule out that it is not a problem with the YUM source or the network. It must be a problem with the local machine.
Checking the logs, I found that the word PackageKit appeared frequently, so I targeted this PackageKit. I found out that PackageKit is a new Linux package manager, but since there is an error in the package here, is it feasible to delete it?
problem solving
yum remove PackageKit* -y //Delete the manager
The above is the editor’s summary of the solution to the error ERROR: dbus when installing yum on Linux. It is mainly caused by two machines pointing to the yum source at the same time. Simply delete the manager introduced in the article to solve the problem.