local yum repository

adel.essafi at laposte.net adel.essafi at laposte.net
Wed Sep 20 06:53:50 UTC 2006


Dear all
I have solved the problem by rebuilding the metadata.

But, when executing yum grouplist I got this

[adel at localhost ~]$ yum grouplist
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
base                                                                 [1/2]
updates-released                                                     [2/2]
Error: No Groups on which to run command


Go you have any idea how to solve this
Thanks


Original Message:
-----------------
From: Ian Burrell ianburrell at gmail.com
Date: Tue, 19 Sep 2006 18:19:40 +0000 (UTC)
To: fedora-list at redhat.com
Subject: Re: local yum repository


Phil Meyer <pmeyer <at> themeyerfarm.com> writes:
> Assuming standard locations:
> After each rsync you need to rebuild the repo data:
> /usr/bin/createrepo -q /var/www/html/yum/5/i386/os
> 
> This one may also be 'wrong' depending on how you retrieved it.  It may 
> actually need to be:
> /usr/bin/createrepo -q /var/www/html/yum/5/i386/os/Fedora/RPMS
> You would need to adjust your yum.conf file in that case.
> 
> In any case, use createrepo to rebuild the repository data after every 
> update of the repository.
> 
> # yum install createrepo
> 

He doesn't need to rebuild the metadata as long as he is syncing the
metadata. 
It is better to mirror the original metadata instead of generating a local
copy.
 Faster too.

 - Ian




-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .






More information about the fedora-list mailing list