Except this won't do what Rich wants, either. He wants to know what other packages depend on "this one." The only way to figure that out, from what I can see, is to query every single package in the RPM database, and search/grep for "this one." Now, it would probably be a good idea to save the contents of that first phase so that you don't have to repeat it again, since it will probably take a while. I believe this is similar to what rpmfind.net has done for various distributions, except they've done it at a file level.
But, over and above that, I think Rich is asking how to do this during an install, not on a running system. Since there is not an established RPM database to query against, I can't think of any way to do that, except query all the _packages_ that are on the install media (on a currently running system of some kind) before starting the install. Either way, it would involve a certain amount of work, to say the least. Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Adams Sent: Sunday, December 22, 2002 2:43 PM To: [EMAIL PROTECTED] Subject: Re: Determining dependencies On Sunday 22 December 2002 10:40 am, Steven Adams wrote: > On Sunday 22 December 2002 06:56 am, you wrote: > > When installing SLES7 and having picked a configuration. If a package is > > de-selected from that configuration a dependencies dialog will come up > > indicating that other packages depend on it. How does one go about > > determining which package(s) depend upon a deleted package? The F2 > > (info) screen is no help, it just tells me what I already know. > > Hey Rich, > > From a telnet or ssh session you can use "rpm -qaR | grep <<package>>" to > search all entries in the package database and diaplay their dependencies. > Forgoing the "grep <<package>>" will list all installed packages that the > RPM database knows about. > > Hope that helps, > > Steve Rich, This is not correct and will not return the expected information. You can, however, use "rpm -qR <<packagename>>" reliably. Using "rpm -qa" will return a list of all package names known to the RPM database. Sorry for the original misinformation, Steve
