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.r pm Name : ksh Relocations: (not relocatable) Version : 20100621 Vendor: (none) Release : 2.el6 Build Date: Thu Dec 9 12:15:31 2010 Install Date: (not installed) Build Host: cpafisxc Group : System Environment/Shells Source RPM: ksh-20100621-2.el6.src.rpm Size : 1478609 License: CPL Signature : (none) URL : http://www.kornshell.com/ Summary : The Original ATT Korn Shell Description : KSH-93 is the most recent version of the KornShell by David Korn of AT&T Bell Laboratories. KornShell is a shell programming language, which is upward compatible with "sh" (the Bourne Shell). 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 Install Date: Tue Dec 7 14:10:48 2010 Build Host: ls20-bc2-13.build.redhat.com Group : System Environment/Shells Source RPM: ksh-20100621-2.el6.src.rpm Size : 1478609 License: CPL Signature : RSA/8, Mon Aug 16 10:39:17 2010, Key ID 199e2f91fd431d51 Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.kornshell.com/ Summary : The Original ATT Korn Shell Description : KSH-93 is the most recent version of the KornShell by David Korn of AT&T Bell Laboratories. KornShell is a shell programming language, which is upward compatible with "sh" (the Bourne Shell). Any ideas would be helpful.... Thanks, Kevin
_______________________________________________ rhelv6-list mailing list rhelv6-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list