[Rpm-metadata] yum stops talking to repo

Mike Power Mike_Power at intuit.com
Thu Jul 2 03:23:12 UTC 2009


I have a rpm repository running on an apache server created by the
commend createrepo:
        cd $YUM_REPO;
        createrepo -d -v -c $YUM_CACHE -C --update .       

I added the repository to yum via a .repo file:

        [nexus]
        name=Nexus Repository of maven artifacts
        baseurl=http://yum.mpower.intuit.com/
        failovermethod=priority
        gpgcheck=0
        enabled=1
        

When I do a sudo yum clean all; sudo yum update then yum talks to my
repo:

        Loaded plugins: fastestmirror
        Determining fastest mirrors
         * jpackage-rhel: jpackage.netmindz.net
         * base: mirrors.kernel.org
         * updates: mirrors.cmich.edu
         * addons: centos.g5selfstorage.com
         * extras: mirrors.usc.edu
        nexus                                                    | 1.9
        kB     00:00     
        primary.sqlite.bz2                                       |  31
        kB     00:00
        

I also see hits in my apache access log:

        192.168.122.239 - - [01/Jul/2009:20:17:47 -0700]
        "GET /repodata/repomd.xml HTTP/1.1" 200 1953 "-"
        "urlgrabber/3.1.0 yum/3.2.19"
        192.168.122.239 - - [01/Jul/2009:20:17:47 -0700]
        "GET /repodata/primary.sqlite.bz2 HTTP/1.1" 200 31249 "-"
        "urlgrabber/3.1.0 yum/3.2.19"
        

At this point I add a new version of an rpm to the repo.  I run
createrepo to update my files.  
I finally want to run yum update on the client so that it installs the
new rpm.  But this time it doesn't bother talking to my repo:


        Loaded plugins: fastestmirror
        Loading mirror speeds from cached hostfile
         * jpackage-rhel: jpackage.netmindz.net
         * base: mirrors.kernel.org
         * updates: mirrors.cmich.edu
         * addons: centos.g5selfstorage.com
         * extras: mirrors.usc.edu
        Setting up Update Process
        

When running this on the client I get zero hits on the access log.  yum
didn't even bother asking my repo for new stuff.

What am I missing?

        Mike Power
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20090701/1048021d/attachment.htm>


More information about the Rpm-metadata mailing list