Red Hat Bugzilla – Bug 99275
Undeclared dependency on dev
Last modified: 2007-04-18 12:55:42 EDT
Description of problem:
When installing the "which" package, an error will result from a reference to
/dev/null which is owned by "dev". The package "which" gets installed before
"dev" since there is no dependency on the "dev" package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I have a script that builds an image from scratch, but I doubt if it's of any
use to others. I can attach it if necessary.
Basically, "which" is installed with a group of other co-dependent packages:
Rearranging these on the command line has little effect; "which" always seems to
get installed first.
Probably applies to all platforms (looks like x86 would have same problem).
I'm guessing other redirections aren't detected by RPM's dependency checker, so
perhaps this is really a "rpm" bug?
Hm, it's not a bug in which package. it's more a problem in your install.
I assign it to anaconda.
No, if you depend on having /dev/null exist in your %post scriptlet, then you
need to Prereq the dev package.
it's fixed in which-2_14-7 or newer, which will be available in rawhide in next days