On 12/9/2010 4:08 PM, Collins, Kevin [BEELINE] wrote:
I have been rebuilding the “ksh” RPM starting in RHEL5.0 (thru
RHEL5.5) to change the behavior of he builtin “echo” command. This has
never been an issue, I just plunk the rebuilt RPM file down in our
local YUM repo, run createrepo and a ‘yum update’ will detect the
package and install it, replacing the existing ksh package.
For some reason I can’t figure out, this is not working in RHEL6... I
was able to rebuild it fine, but after putting everything in place,
‘yum check-update’ does not see it.
The command I used to rebuild is:
rpmbuild --define 'dist .el6' -bb ksh.spec
I’ve tried re-running the createrepo, running ‘yum clean all’, etc...
no luck.
Info from the package:
# rpm -qip
/redhat/RedHatServer6/RHEL6.0/x86_64/rebuild/ksh-20100621-2.el6.x86_64.rpm
Name : ksh Relocations: (not relocatable)
Version : 20100621 Vendor: (none)
Release : 2.el6 Build Date: Thu Dec 9 12:15:31 2010
Info from the installed package
# rpm -qi ksh
Name : ksh Relocations: (not relocatable)
Version : 20100621 Vendor: Red Hat, Inc.
Release : 2.el6 Build Date: Tue Jun 29 07:40:26 2010
Any ideas would be helpful....
Unless I'm missing something, the version you built and the Red Hat
provided one are the same version/release combination, right? If that's
the case, the one you just built wouldn't appear any "newer" than the
one built by Red Hat, and there would be no upgrade required.
-Greg
_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list