Re: trouble with 'createrepo'
aneeskA <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
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 :- [tag] name=*name *baseurl=*path* Thanks and regards -- anees On Mon, May 26, 2008 at 12:33 PM, aneeskA <[email protected]> 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 <[email protected]> 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 >> > > _______________________________________________ Rpm-metadata mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/rpm-metadata