Testing RPM dependencies [was Re: ESP Ghostscript 8.x for FC5]

Bill Rugolsky Jr. brugolsky at telemetry-investments.com
Wed Jun 8 13:33:01 UTC 2005


On Wed, Jun 08, 2005 at 08:41:55AM -0400, Neal Becker wrote:
> for file in $(rpm -q --whatrequires ghostscript); do echo "..." $file &&
> ( rpm -q --requires$file | grep ghostscript; ); done

I find it much easier to let rpm show me the dependencies:

	sudo rpm --test -e ghostscript

I seem to recall hearing some noises at some point (perhaps from Jeff Johnson)
that one ought not to do this, but I've never had a problem with it.

	Bill Rugolsky




More information about the fedora-devel-list mailing list