On Tue, 2003-02-11 at 16:49, Toralf Lund wrote: > Now, I've run a lot of successful installations from my setup, but often > when I make a change, I make some kind of mistake or something > inexplicable happens so that the installation fails, usually with "keyword > error". I then have to modify comps, contents RPMS of and/or hdlists, and > start the install all over again, often only to find out that I need to > make yet another change. This is a very time consuming process, especially > since the installer won't check the file list until one of the very last > steps before the package installations starts. > > Is there a better way? What I really want is of course a more robust > installer (i.e. one that doesn't give up completely when it fails to find > a single package that I may not even want), but apart from that: Is there > a utility that will check if the install tree is consistent, a way to tell > the installer to do its tests before completing all other steps or > something like that?
RedHat 8.0 does this when you set up the install tree (probably in genhdlist - I don't have a machine handy I can check this on) For older versions you need to make sure everything in comps is in your RPMS directory before running genhdlist. I think someone posted a script which does this to the kickstart list recently, so you might want to head over there. If you want to grow your own, you'd need to parse the rpm names from comps, run rpm -qp --qf="%{NAME}\n" *.rpm and then compare the two lists. Or you could create a new comps file from the contents of your RPMS directory, which is more or less what we do here. Regards, Chris -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list