some help on mrepo please

Discussion in 'Server Operation' started by SoftDux, Mar 4, 2008.

  1. SoftDux

    SoftDux New Member

    I have downloaded & installed mrepo on my SME 7.3 (CentOS 4.6) server, which is our main file & email server, and internet gateway.

    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?

    This is the folder structure I have:

    [[email protected] ~]# ll /home/e-smith/files/ibays/linux/files/repos/centos5-i386/
    total 28
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 addons
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:07 centosplus
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 custom
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 extras
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 fasttrack
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 rpmforge
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 updates
    [[email protected] ~]# ll /home/e-smith/files/ibays/linux/files/repos/centos5-x86_64/
    total 28
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 addons
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 centosplus
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 custom
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 extras
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 fasttrack
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 rpmforge
    drwxr-sr-x 2 root softdux 4096 Mar 4 09:06 updates


    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?
     

Share This Page