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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux