I was just doing some pre-installation checking and I came across this weird dependency for cman-kernel.
--------------------------
[root@mfg-nyc-iscsi2 /]# yum deplist cman-kernel Loading "fastestmirror" plugin Loading "priorities" plugin Loading "protectbase" plugin Finding dependencies: Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Excluding Packages in global exclude list Finished 1 packages excluded due to repository priority protections 0 packages excluded due to repository protections Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution package: cman-kernel.x86_64 2.6.9-50.2 dependency: kernel = 2.6.9-55.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-55.EL provider: kernel-module-drbd-2.6.9-55.EL.x86_64 0.7.23-1.el4.centos dependency: /bin/sh provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.4.centos4 dependency: /lib/modules/2.6.9-42.EL provider: kernel-module-drbd-2.6.9-42.EL.x86_64 0.7.21-1.c4 dependency: kernel = 2.6.9-42.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.14 dependency: kernel = 2.6.9-42.0.8.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-42.0.8.EL provider: kernel-module-drbd-2.6.9-42.0.8.EL.x86_64 0.7.23-1.c4 dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.15 dependency: kernel = 2.6.9-42.0.10.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-42.0.10.EL provider: kernel-module-drbd-2.6.9-42.0.10.EL.x86_64 0.7.23-1.el4.centos dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.5.centos4 dependency: /lib/modules/2.6.9-42.0.2.EL provider: kernel-module-drbd-2.6.9-42.0.2.EL.x86_64 0.7.21-1.c4 dependency: kernel = 2.6.9-42.0.2.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.8 dependency: /lib/modules/2.6.9-42.0.3.EL provider: kernel-module-drbd-2.6.9-42.0.3.EL.x86_64 0.7.21-1.c4 dependency: kernel = 2.6.9-42.0.3.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3
Seems kernel-module-drbd is listed as a provider for /lib/modules/... instead of just the drbd module it is suppose to cover.
Ross S. W. Walker Information Systems Manager Medallion Financial, Corp. 437 Madison Avenue 38th Floor New York, NY 10022 Tel: (212) 328-2165 Fax: (212) 328-2125 WWW: http://www.medallion.com http://www.medallion.com/
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Actually, I think there might be 2 issues here.
1) DRBD package providers are too general 2) kernel package providers are not general enough
With extras repo disabled my dependency check now produces this:
------
[root@mfg-nyc-iscsi2 /]# yum --enablerepo=csgfs deplist cman-kernel Loading "fastestmirror" plugin Loading "priorities" plugin Loading "protectbase" plugin Finding dependencies: Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Excluding Packages in global exclude list Finished 0 packages excluded due to repository priority protections 0 packages excluded due to repository protections Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution package: cman-kernel.x86_64 2.6.9-45.15 dependency: kernel = 2.6.9-42.0.10.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-42.0.10.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.4.centos4 dependency: /lib/modules/2.6.9-42.EL Unsatisfied dependency dependency: kernel = 2.6.9-42.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-50.2 dependency: kernel = 2.6.9-55.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-55.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.8 dependency: /lib/modules/2.6.9-42.0.3.EL Unsatisfied dependency dependency: kernel = 2.6.9-42.0.3.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.5.centos4 dependency: /lib/modules/2.6.9-42.0.2.EL Unsatisfied dependency dependency: kernel = 2.6.9-42.0.2.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.14 dependency: kernel = 2.6.9-42.0.8.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-42.0.8.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3
Now it can't find the kernel packages.
-Ross
-----Original Message----- From: centos-devel-bounces@centos.org [mailto:centos-devel-bounces@centos.org] On Behalf Of Ross S. W. Walker Sent: Tuesday, July 17, 2007 1:07 PM To: centos-devel@centos.org Subject: [CentOS-devel] drbd dependency problem
I was just doing some pre-installation checking and I came across this weird dependency for cman-kernel.
[root@mfg-nyc-iscsi2 /]# yum deplist cman-kernel Loading "fastestmirror" plugin Loading "priorities" plugin Loading "protectbase" plugin Finding dependencies: Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Excluding Packages in global exclude list Finished 1 packages excluded due to repository priority protections 0 packages excluded due to repository protections Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution Importing Additional filelist information for dependency resolution package: cman-kernel.x86_64 2.6.9-50.2 dependency: kernel = 2.6.9-55.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-55.EL provider: kernel-module-drbd-2.6.9-55.EL.x86_64 0.7.23-1.el4.centos dependency: /bin/sh provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.4.centos4 dependency: /lib/modules/2.6.9-42.EL provider: kernel-module-drbd-2.6.9-42.EL.x86_64 0.7.21-1.c4 dependency: kernel = 2.6.9-42.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.14 dependency: kernel = 2.6.9-42.0.8.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-42.0.8.EL provider: kernel-module-drbd-2.6.9-42.0.8.EL.x86_64 0.7.23-1.c4 dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.15 dependency: kernel = 2.6.9-42.0.10.EL Unsatisfied dependency dependency: /lib/modules/2.6.9-42.0.10.EL provider: kernel-module-drbd-2.6.9-42.0.10.EL.x86_64 0.7.23-1.el4.centos dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.5.centos4 dependency: /lib/modules/2.6.9-42.0.2.EL provider: kernel-module-drbd-2.6.9-42.0.2.EL.x86_64 0.7.21-1.c4 dependency: kernel = 2.6.9-42.0.2.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3 package: cman-kernel.x86_64 2.6.9-45.8 dependency: /lib/modules/2.6.9-42.0.3.EL provider: kernel-module-drbd-2.6.9-42.0.3.EL.x86_64 0.7.21-1.c4 dependency: kernel = 2.6.9-42.0.3.EL Unsatisfied dependency dependency: /bin/sh provider: bash.x86_64 3.0-19.3 provider: bash.x86_64 3.0-19.3
Seems kernel-module-drbd is listed as a provider for /lib/modules/... instead of just the drbd module it is suppose to cover.
Ross S. W. Walker Information Systems Manager Medallion Financial, Corp. 437 Madison Avenue 38th Floor New York, NY 10022 Tel: (212) 328-2165 Fax: (212) 328-2125 WWW: http://www.medallion.com http://www.medallion.com/
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
-----Original Message----- From: centos-devel-bounces@centos.org [mailto:centos-devel-bounces@centos.org] On Behalf Of Ross S. W. Walker Sent: Tuesday, July 17, 2007 1:18 PM To: The CentOS developers mailing list. Subject: RE: [CentOS-devel] drbd dependency problem
Actually, I think there might be 2 issues here.
- DRBD package providers are too general
- kernel package providers are not general enough
With extras repo disabled my dependency check now produces this:
Ok, I of course figured out how to install by first installing the cman-kernel module then cman, but if cman had a dependency on cman-kernel and cman-kernel had a dependency on kernel shouldn't these just roll-up properly?
The same can be said about drbd.
These kernel modules should also provide just the explicit modules they carry and not list themselves as the whole provider of /lib/modules/...
Well that's my $.02 at least, maybe these dependency issues are just a manifestation of the current version of RPM or some inherited upstream brain damage.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Ross S. W. Walker wrote:
-----Original Message----- From: centos-devel-bounces@centos.org [mailto:centos-devel-bounces@centos.org] On Behalf Of Ross S. W. Walker Sent: Tuesday, July 17, 2007 1:18 PM To: The CentOS developers mailing list. Subject: RE: [CentOS-devel] drbd dependency problem
Actually, I think there might be 2 issues here.
- DRBD package providers are too general
- kernel package providers are not general enough
With extras repo disabled my dependency check now produces this:
Ok, I of course figured out how to install by first installing the cman-kernel module then cman, but if cman had a dependency on cman-kernel and cman-kernel had a dependency on kernel shouldn't these just roll-up properly?
The same can be said about drbd.
These kernel modules should also provide just the explicit modules they carry and not list themselves as the whole provider of /lib/modules/...
Well that's my $.02 at least, maybe these dependency issues are just a manifestation of the current version of RPM or some inherited upstream brain damage.
Well ... the whole kmod thing is covered here:
http://fedoraproject.org/wiki/Packaging/KernelModules
So, this is HOW it was designed. I don't really agree with all the dependencies / provides / requires ... but they have decided what we should do.
-----Original Message----- From: centos-devel-bounces@centos.org [mailto:centos-devel-bounces@centos.org] On Behalf Of Johnny Hughes Sent: Wednesday, July 18, 2007 1:00 PM To: The CentOS developers mailing list. Subject: Re: [CentOS-devel] drbd dependency problem
Ross S. W. Walker wrote:
-----Original Message----- From: centos-devel-bounces@centos.org [mailto:centos-devel-bounces@centos.org] On Behalf Of Ross S. W. Walker Sent: Tuesday, July 17, 2007 1:18 PM To: The CentOS developers mailing list. Subject: RE: [CentOS-devel] drbd dependency problem
Actually, I think there might be 2 issues here.
- DRBD package providers are too general
- kernel package providers are not general enough
With extras repo disabled my dependency check now produces this:
Ok, I of course figured out how to install by first installing the cman-kernel module then cman, but if cman had a dependency on cman-kernel and cman-kernel had a dependency on kernel shouldn't these just roll-up properly?
The same can be said about drbd.
These kernel modules should also provide just the explicit modules they carry and not list themselves as the whole provider of /lib/modules/...
Well that's my $.02 at least, maybe these dependency issues are just a manifestation of the current version of RPM or some inherited upstream brain damage.
Well ... the whole kmod thing is covered here:
http://fedoraproject.org/wiki/Packaging/KernelModules
So, this is HOW it was designed. I don't really agree with all the dependencies / provides / requires ... but they have decided what we should do.
Oh well, I'll just put it down as upstream drain bramage.
I'd say at this point that RH is 90% polished, I think it'll take a lot of man-power though to close that 10% gap.
GEFGW (Good enough for government work)
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.