Re: Using yum for repo that was created with createrepo (--split and --outputdir option)
James Antill <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Maria Alandes Pradillo <[email protected]> writes: > Hi, > > I'm experiencing problems when trying to install packages from a repository that was created using --split and --outputdir option. > > The repository was created in this way: > > createrepo --split -o dir1 dir2 > > This means that packages are in dir2 and repodata is included in dir1. > > My repo file is: > > [repo] > name=my repo > baseurl=http://whatever/dir1, http://whatever/dir2 This tells yum that there are two places it can get the repomd.xml file from, for the "repo" repo: http://whatever/dir1/repodata/repomd.xml http://whatever/dir2/repodata/repomd.xml ...and that both of those places point to the same MD, ie. one of them is a mirror of another. -- James Antill -- [email protected]