Bug 22665

Summary: rpm -q reporting problem
Product: [Retired] Red Hat Linux Reporter: rwmcgwier
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-12-21 14:19:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description rwmcgwier 2000-12-21 14:19:51 UTC
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.

I attempted

rpm --rebuilddb

but this did not fix the problem.

Both of these are rpm version 4.0 and RH 7.0

Comment 1 Jeff Johnson 2000-12-21 14:25:21 UTC
You meant to do
	rpm -q gcc
or
	rpm -qa | grep gcc
not
	rpm -q gcc*.rpm