[Rpm-metadata] Re: trouble with 'createrepo'

aneeskA aneeska2k5 at gmail.com
Mon May 26 07:40:50 UTC 2008

OK. I think i will answer my own question.

In order to localinstall a number of RPMs which are present inside a local
directory do this :-

create a .repo file in /etc/yum.repos.d/

file format :-


Thanks and regards
-- anees

On Mon, May 26, 2008 at 12:33 PM, aneeskA <aneeska2k5 at gmail.com> wrote:

> Hi All,
>    A small update from me. I changed the baseurl to point to the directory
> where my RPMs reside. when run 'yum localinstall' an error pos up :- 'Cannot
> open/read repomd.xml file for repository" Any ideas ?
> Thanks and regards
> -- anees
> On Mon, May 26, 2008 at 12:17 PM, aneeskA <aneeska2k5 at gmail.com> wrote:
>> Hi All,
>>     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 'rpm -i *'. 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
>> 'createrepo' program. but its not working. Yum with and without the repo
>> data lists the dependencies and says Error:Missing Dependency and exits.
>>    What am I missing ?
>> Thanks and regards
>> -- anees
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20080526/a1e13c79/attachment.htm 

More information about the Rpm-metadata mailing list