OK. I think i will answer my own question. <br><br>In order to localinstall a number of RPMs which are present inside a local directory do this :-<br><br>create a .repo file in /etc/yum.repos.d/<br><br>file format :-<br><br>
[tag]<br>name=<i>name<br></i>baseurl=<i>path</i><br><br>Thanks and regards<br>-- anees<br><br><div class="gmail_quote">On Mon, May 26, 2008 at 12:33 PM, aneeskA &lt;<a href="mailto:aneeska2k5@gmail.com">aneeska2k5@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>&nbsp;&nbsp; A small update from me. I changed the baseurl to point to the directory where my RPMs reside. when run &#39;yum localinstall&#39; an error pos up :- &#39;Cannot open/read repomd.xml file for repository&quot; Any ideas ?<br>
<br>Thanks and regards<br><br>-- anees
<div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Mon, May 26, 2008 at 12:17 PM, aneeskA &lt;<a href="mailto:aneeska2k5@gmail.com" target="_blank">aneeska2k5@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi All,<br><br>&nbsp;&nbsp;&nbsp; I have 10 rpms with me which I want to distribute in a CD. They are dependent on each other. I dont want the user to list out all the rpms one by one and install or say &#39;rpm -i *&#39;. When i give one rpm to install he will say that some thing else is not installed and exits. But yum looks at the dependencies and installs them at one go. So if i can do a localinstall on one rpm it will look up its dependencies (which is present n the same directory) and install all. For that i created repo data of the rpms using &#39;createrepo&#39; program. but its not working. Yum with and without the repo data lists the dependencies and says Error:Missing Dependency and exits.<br>
<br>&nbsp;&nbsp; What am I missing ?<br><br>Thanks and regards<br><br>-- anees<br>


</blockquote></div><br>
</div></div></blockquote></div><br>