redhat package verification

Hi,
I wanted to verify if a package is installed or not, so i did
# rpm -qa | grep control-center
control-center-2.16.0-16.el5
control-center-2.16.0-16.el5

The output "control-center-2.16.0-16.el5" printed twice, does this mean it has 2 versions of the same package.  On other server which is very similar to this has output only once.
#rpm -qa | grep control-center
control-center-2.16.0-16.el5

Let me know if I have to delete the package on server 1, if it comes under best practice.

Thanks in advance.
vmwarecv1Asked:
Who is Participating?
 
Maciej SsysadminCommented:
https://bugzilla.redhat.com/show_bug.cgi?id=197801

rpm --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' -qa | grep control-center
0
 
Deepak KosarajuDevOps EngineerCommented:
Its strange behavior, You have only one version of package installed on server1 but rpm -qa prints two times. can you check with any other package on server1 with rpm -qa
ex: rpm -qa|grep xorg*
0
 
Deepak KosarajuDevOps EngineerCommented:
Oklit: Really Good One!
0
 
Maciej SsysadminCommented:
Not mine - just good question for google ;) + little modification (grep) of found answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.