[CentOS] some help on mrepo please

Tue Mar 25 14:54:14 UTC 2008
Vasiliy Boulytchev <vasiliy at linuxspecial.com>

Gents,
  I figured this would be a nice thread to add my question to.

  Mrepo is installed, and functioning... somewhat.  The problem is that
repodata/ directories are not being pulled from the mirrors.  Here is my
mrepo configuration.

[main]
hardlink = yes
srcdir = /mnt/kickstart
wwwdir = /mnt/kickstart
confdir = /etc/mrepo.conf.d
arch = x86_64
mailto = root at localhost
smtp-server = localhost


[centos5]
name = CentOS $release ($arch)
release = 5.1
arch = x86_64
metadata = repomd yum repoview

### Additional repositories
updates = http://mirror.centos.org/centos/5.1/updates/$arch/
fasttrack = http://mirror.centos.org/centos/5.1/fasttrack/$arch/
centosplus = http://mirror.centos.org/centos/5.1/centosplus/$arch/
extras = http://mirror.centos.org/centos/5.1/extras/$arch/
addons = http://mirror.centos.org/centos/5.1/addons/$arch/

### RPMforge repository
rpmforge =
http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/$arch/dag/

Thanks,
Vasiliy

On Tue, Mar 4, 2008 at 2:46 PM, Rudi Ahlers <Rudi at softdux.com> wrote:

> Dag Wieers wrote:
> > On Tue, 4 Mar 2008, Rudi Ahlers wrote:
> >
> >> I have got CentOS 5.0 i386 & x86_64 DVD's, and CentOS 5.1 i386 &
> >> x86_64 CD1, where do I copy these? I have setup
> >> /etc/mrepo.conf.d/centos5.conf with both i386 & x86_64 arch, but how
> >> will mrepo know that CentOS 5.0 & CentOS 5.1 are different?
> >
> > Wrong mailinglist, please move this to tools at lists.rpmforge.net.
> >
> > Answer:
> >
> >     If you want support for both CentOS 5.0 and CentOS 5.1, you need
> >     to create 2 config files, one for each. (You could also put them
> >     in the same)
> >
> >     centos-5.0.conf and centos-5.1.conf
> >
> >     If you also want the extra repositories on both, you can work with
> >     internal links, or download it twice.
> >
> Thanx, I figured as much, seeing that each version has it's own repo on
> the mirrors.
> >> I have run mrepo -vv -u to see what it does, but it seems like it's
> >> going to download every file from the CentOS repositories. Where do I
> >> copy the rpm's that I have already downloaded to? For example, all
> >> the rpm's in /var/cache/*/packages folders?
> >
> > The location is in /etc/mrepo.conf defined as "srcdir = /var/mrepo".
> > You can opt to change this to wherever you want, or make a symlink
> > from /var/mrepo to wherever you want. There is a strict structure
> > underneath that directory.
> >
> I have already changed that to my network shared folders, and I'm busy
> downloading the scripts now. Am I on the right track if I copy files
> from existing servers / machines' /var/cache/yum/*/packages to the
> corresponding folders on in the mrepo source folders?
> > Another way to find the answer to this question is to run mrepo with
> > more -v's like mrepo -vvvvv, so that you can exactly see what it is
> > doing.
> >
> > Or you could opt to read the documentation that ships with mrepo that
> > explains all of this as well.
> >
>
>
> --
>
> Kind Regards
> Rudi Ahlers
> CEO, SoftDux
>
> Web:   http://www.SoftDux.com
> Check out my technical blog, http://blog.softdux.com for Linux or other
> technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting
> stugg
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080325/4924b150/attachment-0005.html>