Re: New devel version released...
Greg Kurtzer <[email protected]> Sat, 18 May 2002 00:29:17 -0700
| Newsgroups | gmane.linux.redhat.rpm.grab |
|---|---|
| Message-ID | <[email protected]> |
Yes, I am using that header trick that we talked about earlier. Unfortunately I am calling rpm to do it, as I could not get perl-rpm to work properly for this. It may be however that I just don't know how to use it, and I am too lazy to troubleshoot it. I will contact the author of the package one of these days. In any case, here is the sequence of dependency resolution events from GRAB's perspective... - get packages user wants to install - create local provides database - create database for provides info of all remote packages to be installed - get requires info from all packages to be installed - look at all three lists, and see if there is anything missing and try to fix also wedged into the mix is a hash database near the beginning of the source that specified and fixes broken packages (i.e. python-popt/python-rpm which affects a normal upgrade of up2date). I like the idea of doing the whatrequires, but that method would be very ugly for doing a large number of packages. As it is, I think it is taking too long now... I like the idea however, and will give it more thought. Good thinking! Also, I am just releasing 0.90.4 in devel form. I think it is just about ready for a formal release which will be 1.0! My goal is to hack through this over the weekend, and have it up by Monday. CYA On Fri, May 17, 2002 at 08:18:28AM -0400, Jef Spaleta wrote: > Is this dep check using the header trick? > > Now for the locally installed package breaking problem. Can't you do a > quick --whatrequires test locally for the package you are going to > upgrade to see which other installed packages needs that code. > > mozilla example > > rpm -q --whatrequires mozilla...to get a list of installed packages that > break if mozilla get updated. > > or to be more encompassing something like: > rpm -q --whatrequires `rpm -q --provides mozilla` > > Anyways, thanks for the effort. > > -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