Red Hat Bugzilla – Bug 22665
rpm -q reporting problem
Last modified: 2007-04-18 12:30:17 EDT
I just installed gcc rpm's on my alpha and my intel boxes.
rpm -q gcc*.rpm says that none of the gcc rpm's are installed.
rpm -Uvh gcc*.rpm says that the rpm's are already installed.
but this did not fix the problem.
Both of these are rpm version 4.0 and RH 7.0
You meant to do
rpm -q gcc
rpm -qa | grep gcc
rpm -q gcc*.rpm