Jeroen van Meeuwen wrote:
Farkas Levente wrote:
> hi,
> currently there is two different option to use comps. i set in the
> global option part:
> revisor_comps=1
> comps = /usr/share/revisor/comps/comps-c5.xml
> in the repo there is no comps, but i assume this is enough, but it seems
> not:
> -----------------------------------------------
> Loading Repositories: #######
> 18.0% No groups present! Error was: No Groups Available in any repository
> Loading Repositories:
> ######################################## 100.0%
> No Package Matching grub. This is a required package.
> -----------------------------------------------
> can i force it somehow?
>
comps =
is a setting that allows you to override what comps file is included in
the installation tree.
By default, revisor will use the comps file(s) available from the
repositories configured. I'm not sure why your setup turns out to not
have _any_ comps files, but I'm thinking you are not using any of the
upstream repositories from CentOS and create your own.
yes exactly.
Could you elaborate a little on what it is you are trying to do, and
tell us what you are using to do so?
suppose you copy all rpms from centos rpms to a dir and run a createrepo
on it. in this case even if you define in the global section or in the
model section
comps = /usr/share/revisor/comps/comps-c5.xml
revisor still complain about that it can't find comps file.
anyway it's still not clear what the
comps =
means in the main or model section? which overwrite which ie. what's the
preferences:
- global
- model
- repo
?
what heppened if more repo has comps file and each contains a given
group which has the precedence?
whe use comps file? only if i use group in package selection or?
anyway i found the workaround the use
createrepo -g /usr/share/revisor/comps/comps-c5.xml ...
but that's not the solution and should have to fix and documented.
currently documentation is the biggest weakness of revisor and this
can't be done by anyone else just you since only you know what the
params means:-(
--
Levente "Si vis pacem para bellum!"