[CentOS] update from local repo mirror

Mon Nov 4 16:41:27 UTC 2013
Wade Hampton <wadehamptoniv at gmail.com>

Try running createrepo in your repository directory, the
one with the RPMs in it.

    cd {...}/i386
    createrepo .

Cheers,
--
Wade Hampton


On Mon, Nov 4, 2013 at 11:05 AM, zGreenfelder <zgreenfelder at gmail.com>wrote:

> so this may be an odd question, but my google fu seems to be failing me.
>  I've created a local mirror of centos 5 & 6 with various instructions
> across the net, it seems to be functional, syncs on a regular basis,and is
> generally usable (I've built machines with kickstart/netboot from it and
> they seem generally workable).  my difficulty comes up when I try to use
> the local mirror for system updates.
>
> if I use the originally installed repo configs and run yum check-update, I
> get a list of 10-15 RPMs for updates, if I change the repo files, do a yum
> clean all, comment out mirrorlist and uncommenting/chang  baseurl=
> http://localmirror/path/to/repo and run a check, I get nothing.
> if I look in localmirror:/path/to/repo and do a find for the version
> numbers I got as available updates from the remote repositories, I find
> appropriate files in seemingly reasonably named directory paths.
>
> my current best guess is that my repodata/repomd.xml file needs some sort
> of update/rebuild via the createrepo script, but I can't seem to find the
> 'right' way to this.   does anyone have any pointers?
>
> thanks.
>
> --
> Even the Magic 8 ball has an opinion on email clients: Outlook not so good.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>