Re: upgrading 7.2+rawhide -> rh8.0 via grab

Greg Kurtzer <[email protected]> Wed, 9 Oct 2002 12:05:36 -0700
Newsgroups gmane.linux.redhat.rpm.grab
Message-ID <[email protected]>
I have thought about this one before. There are two major problems with doing
this.

   1) Packages sometimes change what they provide, especially when comparing
      different versions of RedHat.
   2) GRAB's dependency checks just looks at the new list of packages to
      install, and fixes any dependencies there. It does not check to see if
      it were to break anything locally by doing an install. This may be the
      case if option 1 occurs, if the versions are out of order (yes
      sometimes the package on the newer RedHat is older then the older
      version (I think telnet was like that going from RedHat 6.2->7.3)).

Basically, this is very risky and unless I can figure out (or someone can
spec it out to me (in pseudo code please)) how to do this, we will have to
rely on the package automatically figuring them selves out.

Although parsing the output may be helpful. Can you come up with a methodology
for parsing? Take a snippet of the errors when you tried to do the upgrade,
and let us know. Otherwise, I don't know of a clean way to do this.

Greg

On Wed, Oct 09, 2002 at 10:13:50AM -0700, Ami Fischman wrote:
> Hi there,
> I have the RH8.0 RPMS stored on a local disk, and want to upgrade my
> current system (which is a mishmash of 7.2, rawhide, and external rpms) to
> rh8.0 via grab (I'd like to avoid any downtime).  Ran 
> ./grab-devel --buildrep on the rh80 dir, and that went fine.  Then did a 
> ./grab-devel --autoupdate -t 
> and that seemed like it was going fine, until the rpm -Uvh --test phase (on
> 551 packages), which exited with many dependency messages (~40).  Is it not
> possible to have grab examine these dependency messages and add the
> necessary rpms to the list, and re-run rpm -Uvh --test?
> 
> Has anyone done this migration yet?  Any words of advice?
> 
> Cheers,
> -- 
>   Ami Fischman
>   [email protected]
> 
> 
> _______________________________________________
> Grab mailing list
> [email protected]
> http://www.runlevelzero.net/mailman/listinfo/grab

-- 
Greg Kurtzer
[email protected]
http://www.runlevelzero.net
LINUX,... The choice of a GNU generation!
:wq