[CentOS] yum - package version database

2014-04-17 Thread neubyr
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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum - package version database

2014-04-17 Thread m . roth
neubyr wrote:
> 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

> Package matching openssl-1.0.0-27.el6_4.2.x86_64 already installed.
> Checking for update.
> Nothing to do

Dumb thought: what do you get with rpm -qa | grep -i openssl

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum - package version database

2014-04-17 Thread neubyr
On Thu, Apr 17, 2014 at 2:18 PM,  wrote:

> neubyr wrote:
> > 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
>
> > Package matching openssl-1.0.0-27.el6_4.2.x86_64 already installed.
> > Checking for update.
> > Nothing to do
> 
> Dumb thought: what do you get with rpm -qa | grep -i openssl
>
>
>
rpm installed query reports same as yum installed:
# rpm -qa | grep -i openssl
openssl-1.0.1e-16.el6_5.4.x86_64

-N
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum - package version database

2014-04-17 Thread Nicolas Thierry-Mieg
On 04/17/2014 11:14 PM, neubyr wrote:
> 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.

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...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum - package version database

2014-04-17 Thread Ljubomir Ljubojevic
On 04/17/2014 11:46 PM, Nicolas Thierry-Mieg wrote:
> On 04/17/2014 11:14 PM, neubyr wrote:
>> 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.
>
> 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.


-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum - package version database

2014-04-17 Thread neubyr
On Thu, Apr 17, 2014 at 2:46 PM, Nicolas Thierry-Mieg <
nicolas.thierry-m...@imag.fr> wrote:

> On 04/17/2014 11:14 PM, neubyr wrote:
> > 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.
>
> 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...



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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum - package version database

2014-04-17 Thread Nicolas Thierry-Mieg


On 04/17/2014 11:56 PM, Ljubomir Ljubojevic wrote:
> On 04/17/2014 11:46 PM, Nicolas Thierry-Mieg wrote:
>> On 04/17/2014 11:14 PM, neubyr wrote:
>>> 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

>> 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.

his installed version is/was 1.0.1e-16.el6_5.4 ...

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos