Bug 99275

Summary: Undeclared dependency on dev
Product: [Retired] Red Hat Linux Reporter: Andrew E. Mileski <andrewm>
Component: whichAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: strongarm   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-07-17 19:07:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew E. Mileski 2003-07-16 21:00:45 UTC
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):
  which-2.14-5 

How reproducible:
  Everytime

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:
  which
  coreutils
  sysklogd
  modutils
  procps
  pam
  util-linux
  SysVinit
  dev
  initscripts
Rearranging these on the command line has little effect; "which" always seems to
get installed first.

Additional Info:
  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?

Comment 1 Than Ngo 2003-07-17 10:57:55 UTC
Hm, it's not a bug in which package. it's more a problem in your install.
I assign it to anaconda.


Comment 2 Jeremy Katz 2003-07-17 18:52:27 UTC
No, if you depend on having /dev/null exist in your %post scriptlet, then you
need to Prereq the dev package.

Comment 3 Than Ngo 2003-07-17 19:07:21 UTC
it's fixed in which-2_14-7 or newer, which will be available in rawhide in next days