Re: Using yum for repo that was created with createrepo

Maria Alandes Pradillo <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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.

Ok, I see. But then, how should the repo file look like if you create a repo like this?
createrepo --split -o dir1 dir2

Thanks a lot!
Maria
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.