yum does not work consistently with RPMs with '0:' in the name
Issue
Installing RPMs with the '0:' in the name works, but doing a 'yum list installed rpm_name' fails if the name has a '0:' in it.
Fails on RHEL5.11 and 6.5
Example:
PKGNAME=$(repoquery "ypserv*" | sort -n | tail -1)
yum -y install $PKGNAME
yum list installed $PKGNAME
The package will be installed and can be viewed in 'rpm -qa | grep ypserv'. The 'yum list installed PKGNAME' or 'rpm -q PKGNAME' does not show it. If you search for the name without the '0:', then both the yum list installed and rpm -q command work.
Environment
RHEL 5.11
RHEL 6.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
