Re: Here is an interesting idea....
Greg Kurtzer <[email protected]> Tue, 10 Sep 2002 10:06:05 -0700
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <[email protected]> |
I will have to re-read this when I am not at work to better understand it. My first thoughts are that RPM 4.1 should be able to handle a lot of this much better then 4.0 (from what I hear). I have not played with it yet, but I think that dep resolution will be much better and a lot of the dirtywork that GRAB now does will be handled directly by RPM. I will probably move forward (when some distro's get released with RPM 4.1) on that devel track, and fork GRAB so that people still using the old version of RPM can still have GRAB do the dirty work. Eventually I suppose I will have to stop maintaining the RPM 4.0 compliant version of GRAB so I can focus on moving GRAB forward. That will still be a while though. On Fri, Sep 06, 2002 at 03:40:19AM -0400, Jef Spaleta wrote: > Here's another take on how to get grab to do updates between major > versions of a distro release...for example from redhat 7.2 to 7.3 or > from 7.3 to 8.0 when it comes out. > > > Build a set of glue rpms...that just do rpm database manipulations...to > account for all the odd ball changes between major release..like the > renaming of packages...and the splitting of dependancies. > > Grab should be able to make such mating rpm's by just comparing the > provides and requirements of packages in two "pure" ftp > directories...one for the base distro you currently have...and one for > the base distro you want to upgrade to. Grab can compare things in those > two trees and make a set of "empty" rpms that just do rpm database > manipulations to satify any wierd changes in the dependances....so if > you update to the new base distro + the mating rpms you get a system > without any dependancy issues... > Then what you can do is remove any of the mating rpm...because the > upgrade to the new distro version would give you a system that doesn't > actually use any of the dependancies provided by the mating rpms....so > you can safely remove them since nothing on your updated system will > require them. > > This idea should work as long as the two ftp trees are totally > self-fulfilling in terms of deps...which base redhat distro trees are. > > > Any thoughts? > > -jef > _______________________________________________ > 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