On Sun, 22 Dec 2002, Steven Adams wrote:

> 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,
>

I think Steve should have suggested
rpm -qa | grep <<package>> | xargs rpm -qR




--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb

Reply via email to