We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

redhat package verification

vmwarecv1
vmwarecv1 asked
on
Medium Priority
282 Views
Last Modified: 2012-05-06
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.
Comment
Watch Question

Deepak KosarajuDevOps Engineer

Commented:
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*
sysadmin
CERTIFIED EXPERT
Commented:
https://bugzilla.redhat.com/show_bug.cgi?id=197801

rpm --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' -qa | grep control-center

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Deepak KosarajuDevOps Engineer

Commented:
Oklit: Really Good One!
Maciej Ssysadmin
CERTIFIED EXPERT

Commented:
Not mine - just good question for google ;) + little modification (grep) of found answer.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.