[Yum] Using yum for repo that was created with createrepo (--split and --outputdir option)

James Antill james-yum at and.org
Fri Oct 9 15:52:36 UTC 2009


Maria Alandes Pradillo <Maria.Alandes.Pradillo at cern.ch> 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 -- james at and.org


More information about the Yum mailing list