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

Reply via email to