On Fri, Jul 17, 2009 at 11:36:54AM -0400, Jeremy Smith wrote:
> I just did a yum update and see that there is a new version of dkms, but it
> pulls in these dependencies:
>
> cairo, cups, cups-libs, mesa-libGL, pango, paps, redha-lsb.
>
> My server is headless, so I know I don't need any of those dependencies.
> I try to keep a very minimized list of packages installed.
> Are these dependencies intentional and necessary?
> If not, how can I update without them?
dkms added the dependency Requires: lsb which, on Red Hat and
Fedora distributions, pulls in redhat-lsb, which pulls in an amazing
amount of packages (a bunch of X libraries, hence cairo, mesa, and
pango; lpr commands, hence cups, ...).
The LSB dependency is primarily used to determine what the proper
directory under /lib/modules/${kernelver}/ it should be placing
modules into. Different distributions expect the modules in different
places.
case "$running_distribution" in
fc[12345]) ;;
el[1234]) ;;
sles[123456789]) ;;
suse[123456789]) ;;
suse10\.[01]) ;;
fc*) echo "/extra" && return ;;
el*) echo "/extra" && return ;;
sles*) echo "/updates" && return ;;
suse*) echo "/updates" && return ;;
Ubuntu*) echo "/updates/dkms" && return ;;
Debian*) echo "/updates/dkms" && return ;;
*) ;;
There are several bugs filed with Red Hat about splitting up
redhat-lsb to avoid pulling all this stuff:
(Fedora) https://bugzilla.redhat.com/show_bug.cgi?id=245494
(Fedora) https://bugzilla.redhat.com/show_bug.cgi?id=472633
(RHEL4) https://bugzilla.redhat.com/show_bug.cgi?id=472630
I also spoke with the Red Hat product managers at a regular technical
interlock a few weeks ago, and re-iterated the need to see this split
up. They agree, and with some effort may still be done by RHEL6.
Feel free to add your votes to the above bugzillas.
Thanks,
Matt
--
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq