SCIENTIFIC-LINUX-USERS Archives

April 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Wed, 4 Apr 2012 20:53:18 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
On 04/04/2012 03:31 PM, Eero Volotinen wrote:
> yum --releasever=6.2 update did the trick.
>
> 2012/4/4 Eero Volotinen<[log in to unmask]>:
>> tried normal "redhat way update", without any success:
>>
>> yum upgrade
>> Setting up Upgrade Process
>> No Packages marked for Update
>
> sorry for noise to the list..

Hi Eero,

I believe that using --releasever=N doesn't make a permanenent change. 
You will need to set your release version to 6.2, 6x or 6rolling if you 
want to be pulling from the 6.2 repos the next time you run yum -- 
otherwise you'll be puzzled why you're not getting updates.

I'm unsure if there is a more elegant solution, but I think the only 
place to make that change permanent is by doing something like:

sed --in-place=.bak -e "s/6.1/6x/" /etc/redhat-release

Or do the equivalent by hand. But that might be a crude hack -- Someone 
else here please pipe up if there is a better way.

Or there is always:

alias yum="yum --releasever=6x"

Cheers
-z

ATOM RSS1 RSS2