Hide Forgot
Description of problem: The systemtap package provided with RHEL 4 Update 9 introduced what seems to be a regression by requiring kernel-devel. From the spec file: # Alternate kernel packages kernel-PAE-devel et al have a virtual # provide for kernel-devel, so this requirement does the right thing. Requires: kernel-devel Unfortunately this isn't the case: $ rpm -q --provides -p /mnt/brew/packages/kernel/2.6.9/100.EL/x86_64/kernel-smp-devel-2.6.9-100.EL.x86_64.rpm kernel-smp-devel-x86_64 = 2.6.9-100.EL kernel-smp-devel = 2.6.9-100.EL Here's what it looks like for RHEL5 $ rpm -q --provides -p /mnt/brew/packages/kernel/2.6.18/238.5.1.el5/x86_64/kernel-devel-2.6.18-238.5.1.el5.x86_64.rpm kernel-devel-x86_64 = 2.6.18-238.5.1.el5 kernel-devel = 2.6.18-238.5.1.el5 Version-Release number of selected component (if applicable): systemtap-1.3-5.el4 How reproducible: Attempt to install or upgrade systemtap. Actual results (customer reporting issue uses yum): user@noric12 17:58 > sudo yum -c /etc/yum-immediate.conf upgrade Setting up Upgrade Process Setting up Repos base 100% |=========================| 951 B 00:00 extras 100% |=========================| 951 B 00:00 rh_updates 100% |=========================| 951 B 00:00 Reading repository metadata in from local files base : ################################################## 1566/1566 extras : ################################################## 45/45 rh_updates: ################################################## 7568/7568 Excluding Packages in global exclude list Finished Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package systemtap.i386 0:1.3-5.el4 set to be updated ---> Package systemtap-runtime.i386 0:1.3-5.el4 set to be updated --> Running transaction check --> Processing Dependency: kernel-devel for package: systemtap --> Finished Dependency Resolution Error: Missing Dependency: kernel-devel is needed by package systemtap Exit 1 Expected results: The systemtap program installs or upgrades with out error. Additional info:
Sorry we didn't catch this issue earlier. kernels from RHEL5+ all rpm-provide the 'kernel-devel' virtual resource, but RHEL4 doesn't. Possible workaroundss include: - trivial rebuilding the systemtap RPM without that Require: [dev_ack+] - (bad solution, but:) installing systemtap with --nodeps - installing a dummy kernel-devel (any random version; won't be used) - (not going to happen, but:) getting the kernel-VARIANT-devel RPMs to rpm-provide: kernel-devel like RHEL5+ ones do
We'll plop a build into the system within a day or two.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0929.html