Upgrade 2.3 to 3.0?

Rick Thomas yellowdog-general@lists.terrasoftsolutions.com
Sat Apr 26 12:58:01 2003


Nathan seems to be assuming that you are talking about upgrading a 
2.x box to 3.0.  If so, you are probably out of luck.  There are so 
*many* changes between 2.x and 3.0 that finding a safe sequence to 
install the new things and de-install the old ones (in which step 
"n" doesn't break things so badly that step "n+1" can't proceed) is 
probably impossible.  In any case, it's not a task I would want to 
undertake, and I've been in the sys-admin biz for more years than 
most folks on this list have been alive (Your esteemed self 
excluded, of course, Mr Beartooth!)

Bottom line -- if you have a 2.x box and you want to install 3.0 on 
it, do a full backup (twice, just to be sure), take a deep breath, 
let it our real slow, wipe the disk, and install 3.0 from scratch.  
Then restore anything you really need.  Think of it as 
house-cleaning.  The analogy of moving to a new house in a distant 
community is a good one.  You'll find that there's *lots* of stuff 
you never take out of storage.


Now... That said:  Suppose for a moment that you were really 
talking about what happens *after* you have installed 3.0 fresh on 
a new box (or an old box that you've wiped clean) and you want to 
get the security upgrades mentioned in the "yellowdog-updates" 
list, or install some packages that you might have overlooked in 
the original install.  (That's been my situation for the last week 
or so.)

I've been in close conversation with the tech support folks at YDL,
and it seems that something about the "apt-get upgrade" process
is broken at this point in time.  YDL is working on it.
That's the bad news.  The good news is that "yum" works like a
champ and does everything you want.

Yum takes dependancies (pre- and post-) into account properly.  It 
calculates a safe sequence to do things in.  And does it.  All with 
very minimal human intervention.  For details, read the man pages 
(At the command prompt, type "man yum".  Be sure to check the "SEE 
ALSO" section, and follow the links you find there.)

I think yum is *almost* smart enough to do the 2.x to 3.0 upgrade, 
but I wouldn't want to be the first to try it on a live system!


Enjoy!

Rick

On Friday, April 25, 2003, at 02:33 PM, nathan r. hruby wrote:

> On Fri, 25 Apr 2003, Beartooth wrote:
>
>>
>> 	Meanwhile, trying to keep up as best I can with ydl-g, I seem to
>> recall a post or three some time back, to the effect that 3.0 fails to
>> offer an upgrade option. Aaarrrgghhh! Double Aaarrrgghhh! Is that 
>> really
>> so??
>>
>
> For the 3.0 release that's probably tru, though it's now using 
> anaconda,
> so if /home is on a seperate partition (as it should be) then all you
> really need to do is format the other stuff in the installer and not
> /home.
>
> Failing that, you might be able to cajole apt into do the upgrade, at
> least as far as getting a newer version of rpm + dependancies installed
> and then let yum handle the rest.
>
> Err.. 3.0 should be on mirror sites soonish now so, hopefullt some 
> brave
> soul will take the plunge.  I have a box to upgrade soon as well, so
> hopefull once the semster ends in a fews weeks I can setup a test 
> box and
> try to document the process.
>
> -n
> --
> ----------------------------------------
> nathan hruby <nathan@drama.uga.edu>
> computer services specialist
> uga drama & theatre
> reality is a moving target
> ----------------------------------------
>
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general