[CentOS] HELP! Group info problem
Robert Moskowitz
rgm at htt-consult.com
Tue Dec 4 21:38:43 UTC 2007
thanks
Mark Pryor wrote:
> --- Robert Moskowitz <rgm at htt-consult.com> wrote:
>
>
>> I just tried an install from my local repo (boot
>> from CD 1, use http
>> method), and it failed right after entering the root
>> password setting with:
>>
>> Unable to read group information from repositories.
>> This is a problem with the generation of your
>> install tree.
>>
>> Reboot
>>
>>
>> So now what? Is there something I can just extract
>> from the isos?
>>
>
> Robert,
>
> #cd /pathtorepo/5/i386
> #createrepo -g ./repodata/comps.xml ./
>
I did this and it ended with:
Could not remove old metadata dir: .olddata
Error was [Errno 39] Directory not empty:
'/repos/centos/5.1/os/i386/.olddata'
Please clean up this directory manually.
> #cd ../x86_64/
> #createrepo -g ./repodata/comps.xml ./
>
I did not build the x86_64 tree.
> the -g param will setup group data for your repo.
> This works for me -- adjust the $releasever (mycase=5)
> for your repo.
>
OK, where is this #releasever set?
More information about the CentOS
mailing list