Subject: | |
From: | |
Reply To: | |
Date: | Wed, 20 Nov 2013 14:27:11 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 11/20/2013 01:50 PM, Chris Schanzle wrote:
> On 11/20/2013 04:34 PM, ToddAndMargo wrote:
>> Hi All,
>>
>> Just got a security advisory on java-1.6.0-openjdk (MDVSA-2013:266)
>> and java-1.7.0-openjdk (MDVSA-2013:267).
>>
>> Went to try to upgrade it and can't figure out how.
>>
>> # rpm -qa \*openjdk\*
>> java-1.7.0-openjdk-1.7.0.45-2.4.3.2.el6_4.x86_64
>>
>> How do you do a yum when the name has a moving target
>> (number) in the middle of the name?
>>
>> I did a "yum whatprovides" to see if they had another
>> name for it and that has numbers in it too.
>>
>> Many thanks,
>> -T
>
> $ rpm -qa --queryformat="%{name}\t%{version}\t%{release}\n" '*openjdk*'
> java-1.6.0-openjdk-devel 1.6.0.0 1.65.1.11.14.el6_4
> java-1.6.0-openjdk-javadoc 1.6.0.0 1.65.1.11.14.el6_4
> java-1.7.0-openjdk 1.7.0.45 2.4.3.2.el6_4
> java-1.6.0-openjdk 1.6.0.0 1.65.1.11.14.el6_4
>
>
> Would this work for you?
> yum update java\*
Hi Chris,
Never thought of escaping the asterisk.
Apparently, we are still waiting on the fix action
to java.
Thank you!
-T
# yum --enablerepo=* upgrade java\*
Loaded plugins: priorities, refresh-packagekit, security
38 packages excluded due to repository priority protections
Setting up Upgrade Process
No Packages marked for Update
|
|
|