> if <rpms_dir> corresponds to the "packages" dir in the yum > repository then after doing a yum-arch <rpms_dir> you have to do > some moves in order for yum to find the headers where it expects it. > Is it right? > # mv <rpms_dir>/headers/header.info <rpms_dir>/.. > # mv <rpms_dir>/headers <rpms_dir>/.. That doesn't make any sense. yum-arch makes the headers dir in whatever path you give it on the commandline. So if you tell yum-arch '/my/path' then it will make a '/my/path/headers' directory. > > Just some other questions: > > 1) in yum-1.97-1.noarch.rpm I found that yum is > not enabled after the rpm is installed. The following command > shows that some lines are commented. Is there any reason for > doing that or is it a miss ? Some folks complained that it was enabled and updating by default, they thought that was more surprising. I agreed and just commented it out so that someone wanting to rebuild it for themselves and wanted it on by default could do so. > 2) How to use yum to remove an old installed kernel ? I used > yum remove kernel-xxxxxxx but this doesn't work yah. at the moment you don't. This is a point of irritation for me and problem I intend to fix in the not-so-distant future. For the moment use rpm -e kernel-version-release -sv