Yum – Package Version Database

Home » CentOS » Yum – Package Version Database
CentOS 6 Comments

When I query for installed package on the system, I get following result:

# yum list installed openssl Loaded plugins: fastestmirror, tsflags, verify, versionlock Loading mirror speeds from cached hostfile Installed Packages openssl.x86_64
1.0.1e-16.el6_5.4
@updates/$releasever

When I try to install already installed package (just playing with yum), I
get following result:

# yum install openssl Loaded plugins: fastestmirror, tsflags, verify, versionlock Loading mirror speeds from cached hostfile Setting up Install Process Package matching openssl-1.0.0-27.el6_4.2.x86_64 already installed. Checking for update. Nothing to do

Note, the version reported in both commands is different. Are they referring to different rpmdb state? Appreciate any information on this discrepancy.

– thanks, N

6 thoughts on - Yum – Package Version Database

  • rpm installed query reports same as yum installed:
    # rpm -qa | grep -i openssl openssl-1.0.1e-16.el6_5.4.x86_64

    -N

  • mis-configured yum repos? 1.0.0-27.el6_4.2 is an old version from 6.4 I
    think. Maybe you have 6.4 hard-coded in your repo file?

    yum install should say:
    Package openssl-1.0.1e-16.el6_5.7.x86_64 already installed and latest version

    BTW your installed version is not up to date and I think it’s a heartbleed-affected version…

  • heartbleed-affected version came only AFTER 6.5 came out, 6.4 was/is safe. That was stated in Red Hat release.

  • Thanks Nicolas!

    It was misconfigured repo. Local repository mirror wasn’t setup properly
    (default changed from 6.5 to 6.4!!) and hence it resulted in some conflicts.

    -N