Bug 7608 - rpms with kernel dependencies
Summary: rpms with kernel dependencies
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: knfsd
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-05 20:44 UTC by Tim Pepper
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-12-22 16:12:39 UTC

Attachments (Terms of Use)

Description Tim Pepper 1999-12-05 20:44:53 UTC
I don't use the redhat kernel rpms and instead build my own kernels for
various reasons from the official source taballs.  This causes me to
continually have to force rpms to install because they've got dependencies
on the redhat kernel rpms, none of which are installed on my machines.  If
the rpms were built to check for the kernel version using 'uname' instead
of querying installed rpms, or at least had a fall back somehow to do this
if no kernel rpms were found, it seems like they would be more robust.  Is
there anyway you could do this in your rpms?

Perhaps this isn't so much a bug as a wish list item, and it certainly
isn't only knfsd that has this problem...still it seems buggy
that a rpm that requires functionality in a 2.2.x kernel would say it can't
install cause I don't have that kernel, when I in fact do.  In the meantime
I guess I can always force the installation, but I worry then if I'll miss
other real error messages.

Comment 1 Jeff Johnson 1999-12-22 16:12:59 UTC
Try adding the missing dependencies to /etc/rpmrc, as in
	Provides: kernel

If you need to satisfy specific versions, you can also create a virtual
package that has, aside from the minimal name, vesrsion, ... required by
rpm, in a spec file
	Provides: kernel = x.y.z-abc	# substititue for x.y.z-abc

Build and install the virtual package to satisfy rpm dependencies w/o
actually installing Red Hat kernel rpm's.

Note You need to log in before you can comment on or make changes to this bug.