Why do I see duplicate packages when querying the rpm database?

Updated -

When running 'rpm -qa' on the system, multiple copies of various RPMs are found. For example:

# rpm -qa | grep dbus-glib | sort

This is because the system has RPMs for different architectures installed. By using the --queryformat argument with rpm, this can be clearly seen:

#  ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In