VDQ : upgrade 3.0 -- which way?

nathan r. hruby yellowdog-general@lists.terrasoftsolutions.com
Mon May 26 10:43:01 2003


On Mon, 26 May 2003, Beartooth wrote:

> On Mon, 26 May 2003 09:22:03 -0600 (MDT) chip <chip@powermmv.com> 
> lucidly advised me:
> > 
> > Beartooth - 
> > man yum
> 
> 	OK -- lots more comprehensible than most man pages, to me at 
> least (though I dunno if I quite understand "glob" in the sense here ...
>  

A glob in yum is a flieglob, the same semantics that your shell uses to 
figure out filenames: "foo*" means "everything starting with foo"

> > In short - 
> > yum update

No.  update will update things with a different take on dependancies, if 
you're doing an *upgrade* use 'yum upgrade'

> 
> 	OK; that gave me a great huge whacking long list, including at 
> least a few entries (probably lots!) that I didn't install and don't 
> want. I crufted up one whole 20GB drive taking stuff from RHN that I 
> didn't need nor use, and I have only 25GB for YDL; I don't want to go 
> that way again.

Err.. yum will fetch all of the headers in each yum repository that 
/etc/yum.conf points at.  This will make it looks like it's downloading 
lots, but in reality, it's only grabbing the headers which are teeny.  
After that, it will tell you what packages you need to upgrade, and what 
additional packages you need to install to satisfy dependancies.  A "yum 
upgrade" will also look at the Obsoletes headers in each RPM and make sure 
things that need to get removed because newer RPM's replace them in fact 
are.  

This will be a *very* large delta becasue you're updating updating every 
single package on the system.  25 GB I think would be enough.  If you're 
worried do a 'yum list installed' and then use 'yum remove' to thin down 
that list be removing things you don't need.  Also note that yum will 
download the packages to /var/cache/yum by default, so make sure you have 
anough space on var to handle all of the packages, plud RPM's database and 
anything else that gets added to /var.  If you don't think you have enough 
space on /var for this, you can move /var/yum/cache to a bigger partition 
and then symlink /var/yum/cache to the new loaction.  /etc/yum.conf also 
allows you to chnage the localtion as well.

Once the update is done, you can do a 'yum clean' do remove all of the
used/unneeded stuff.

-n

-- 
----------------------------------------
nathan hruby <nathan@drama.uga.edu>
computer services specialist  
uga drama & theatre                        
reality is a moving target
----------------------------------------