Paul Howarth wrote:
On Sun, 2006-04-09 at 04:21 -0400, Dan wrote:
Jeffrey D. Yuille wrote:
Does anyone know the command for checking dependencies of a program
before deleting it? I didn't realize that after deleting a program
(in this case, wpa_supplicant), other critical programs would be
deleted as well. Fortunately, I was able to replace those
dependencies but would prefer to avoid this problem in the future.
rpm -q --requires packagename
That tells you what a package depends on, not what packages depend on
it.
Paul.
True. I meant rpm -q --whatrequires packagename . Though I've had odd
experiences where this command hasn't returned everything it should have.
-Dan