[Yum-devel] Re: creating an updates repository

seth vidal skvidal at linux.duke.edu
Sat Mar 25 18:07:40 UTC 2006


On Fri, 2006-03-24 at 12:33 -0600, Jason Pepas wrote:
> On Friday 24 March 2006 11:48 am, seth vidal wrote:
> > are you sure there _are_ any updates for your system in that dir?
> 
> Yes, I am sure.  This is what I did.  I ran 'yum check-update', and got the 
> following list of updates:
> 
> authconfig.x86_64                        5.2.3-1                sysnet-updates
> authconfig-gtk.x86_64                    5.2.3-1                sysnet-updates
> avahi.x86_64                             0.6.9-8.FC5            sysnet-updates
> avahi-glib.x86_64                        0.6.9-8.FC5            sysnet-updates
> beagle.x86_64                            0.2.3-4                sysnet-updates
> bind.x86_64                              30:9.3.2-12.FC5        sysnet-updates
> bind-libs.x86_64                         30:9.3.2-12.FC5        sysnet-updates
> bind-utils.x86_64                        30:9.3.2-12.FC5        sysnet-updates
> cpio.x86_64                              2.6-14.FC5             sysnet-updates
> curl.x86_64                              7.15.1-3               sysnet-updates
> curl-devel.x86_64                        7.15.1-3               sysnet-updates
> lftp.x86_64                              3.4.3-1                sysnet-updates
> libbeagle.x86_64                         0.2.3-4                sysnet-updates
> libsepol.i386                            1.12.1-1.fc5           sysnet-updates
> libsepol.x86_64                          1.12.1-1.fc5           sysnet-updates
> sendmail.x86_64                          8.13.6-0.FC5.1         sysnet-updates
> shadow-utils.x86_64                      2:4.0.14-5.FC5         sysnet-updates
> tcsh.x86_64                              6.14-6.fc5.1           sysnet-updates
> xorg-x11-server-Xorg.x86_64              1.0.1-9                sysnet-updates
> 
> I then deleted the updates/repodata directory, and recreated it using 
> createrepo, and ran 'yum check-update' again, and got this list:
> 
> bind.x86_64                              30:9.3.2-12.FC5        sysnet-updates
> bind-libs.x86_64                         30:9.3.2-12.FC5        sysnet-updates
> bind-utils.x86_64                        30:9.3.2-12.FC5        sysnet-updates
> shadow-utils.x86_64                      2:4.0.14-5.FC5         sysnet-updates
> 
> The question is not 'are there updates for my system', but rather 'why does my 
> system not see all of the updates when repodata is created by createrepo?".
> 
> note that our local fedora mirror and createrepo are being run on a mandrake 
> 10.0 machine, which uses python 2.3.  I suppose the next step would be to try 
> running createrepo from an fedora machine, to eliminate the platform 
> variable.
> 

I would do that. I don't know of any problem with running it on python
on mandrake but it's worth verifying.

-sv





More information about the Yum-devel mailing list