Re: yum and groupinstall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/02/2010 05:13 PM, Tom Murray wrote:
> I have setup a local repository containing several .rpm files. I created
> a comps.xml file outlining the category and groups for the local
> repository. However, when I issue the yum grouplist command, I get the
> following error:
> 
> *Failed to add groups file for repository: localRepo - comps file is
> empty/damaged*
> 
> However, if I try to install one of the the packages in the repository,
> it works just fine.
> 
> Here are the steps I took to create the repodata:
> 
> The comps.xml and repository are stored in the directory:
> /var/www/html/myrepo/x86_64
> 
> cd /var/www/html/myrepo/x86_64
> createrepo -g comps.xml .
> 
> This created a /var/www/html/myrepo/x86_64/repodata directory which
> contains the comps.xml and comps.xml.gz file.

Tom,

The createrepo manpage says: Note that the groups file should be in the
same directory as the rpm packages (i.e. /path/to/rpms/comps.xml).

Is comps.xml(.gz) in the proper location? you seem to suggest that it is
located in repodata/ which does not seem to be the correct place.

Regards,
Patrick
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux