Gents,<br>  I figured this would be a nice thread to add my question to.<br><br>  Mrepo is installed, and functioning... somewhat.  The problem is that repodata/ directories are not being pulled from the mirrors.  Here is my mrepo configuration.  <br>
<br>[main]<br>hardlink = yes<br>srcdir = /mnt/kickstart<br>wwwdir = /mnt/kickstart<br>confdir = /etc/mrepo.conf.d<br>arch = x86_64<br>mailto = root@localhost<br>smtp-server = localhost<br><br><br>[centos5]<br>name = CentOS $release ($arch)<br>
release = 5.1<br>arch = x86_64<br>metadata = repomd yum repoview<br><br>### Additional repositories<br>updates = <a href="http://mirror.centos.org/centos/5.1/updates/$arch/">http://mirror.centos.org/centos/5.1/updates/$arch/</a><br>
fasttrack = <a href="http://mirror.centos.org/centos/5.1/fasttrack/$arch/">http://mirror.centos.org/centos/5.1/fasttrack/$arch/</a><br>centosplus = <a href="http://mirror.centos.org/centos/5.1/centosplus/$arch/">http://mirror.centos.org/centos/5.1/centosplus/$arch/</a><br>
extras = <a href="http://mirror.centos.org/centos/5.1/extras/$arch/">http://mirror.centos.org/centos/5.1/extras/$arch/</a><br>addons = <a href="http://mirror.centos.org/centos/5.1/addons/$arch/">http://mirror.centos.org/centos/5.1/addons/$arch/</a><br>
<br>### RPMforge repository<br>rpmforge = <a href="http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/$arch/dag/">http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/$arch/dag/</a><br><br>Thanks,<br>Vasiliy<br>
<br><div class="gmail_quote">On Tue, Mar 4, 2008 at 2:46 PM, Rudi Ahlers <<a href="mailto:Rudi@softdux.com">Rudi@softdux.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Dag Wieers wrote:<br>
> On Tue, 4 Mar 2008, Rudi Ahlers wrote:<br>
><br>
>> I have got CentOS 5.0 i386 & x86_64 DVD's, and CentOS 5.1 i386 &<br>
>> x86_64 CD1, where do I copy these? I have setup<br>
>> /etc/mrepo.conf.d/centos5.conf with both i386 & x86_64 arch, but how<br>
>> will mrepo know that CentOS 5.0 & CentOS 5.1 are different?<br>
><br>
> Wrong mailinglist, please move this to <a href="mailto:tools@lists.rpmforge.net">tools@lists.rpmforge.net</a>.<br>
><br>
> Answer:<br>
><br>
>     If you want support for both CentOS 5.0 and CentOS 5.1, you need<br>
>     to create 2 config files, one for each. (You could also put them<br>
>     in the same)<br>
><br>
>     centos-5.0.conf and centos-5.1.conf<br>
><br>
>     If you also want the extra repositories on both, you can work with<br>
>     internal links, or download it twice.<br>
><br>
</div>Thanx, I figured as much, seeing that each version has it's own repo on<br>
the mirrors.<br>
<div class="Ih2E3d">>> I have run mrepo -vv -u to see what it does, but it seems like it's<br>
>> going to download every file from the CentOS repositories. Where do I<br>
>> copy the rpm's that I have already downloaded to? For example, all<br>
>> the rpm's in /var/cache/*/packages folders?<br>
><br>
> The location is in /etc/mrepo.conf defined as "srcdir = /var/mrepo".<br>
> You can opt to change this to wherever you want, or make a symlink<br>
> from /var/mrepo to wherever you want. There is a strict structure<br>
> underneath that directory.<br>
><br>
</div>I have already changed that to my network shared folders, and I'm busy<br>
downloading the scripts now. Am I on the right track if I copy files<br>
from existing servers / machines' /var/cache/yum/*/packages to the<br>
corresponding folders on in the mrepo source folders?<br>
<div class="Ih2E3d">> Another way to find the answer to this question is to run mrepo with<br>
> more -v's like mrepo -vvvvv, so that you can exactly see what it is<br>
> doing.<br>
><br>
> Or you could opt to read the documentation that ships with mrepo that<br>
> explains all of this as well.<br>
><br>
<br>
<br>
--<br>
<br>
</div><div class="Ih2E3d">Kind Regards<br>
Rudi Ahlers<br>
CEO, SoftDux<br>
<br>
Web:   <a href="http://www.SoftDux.com" target="_blank">http://www.SoftDux.com</a><br>
Check out my technical blog, <a href="http://blog.softdux.com" target="_blank">http://blog.softdux.com</a> for Linux or other technical stuff, or visit <a href="http://www.WebHostingTalk.co.za" target="_blank">http://www.WebHostingTalk.co.za</a> for Web Hosting stugg<br>

<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>