if i like to setup yum case in the same way as in rhel6 ie: cachedir=/var/cache/yum/$basearch/$releasever then it's not working ie. the directory will be called as /var/cache/yum/$basearch/$releasever in stead of /var/cache/yum/5/i386
Yeh, the RHEL-5 version of yum doesn't interpret the cachedir config. option. It's unlikely to be added as an RFE to RHEL-5 at this point, without a strong reason behind it.
but it understand it in all other option except this one and also the man page said it should have to be....