I've solv this probole. the /usr/sbin/kojid have following code:
----------------------------------
2584                 #cmd.append('--update')
2585                 #if options.createrepo_skip_stat:
2586                 #    cmd.append('--skip-stat')
==============================

I commented it , so the createrepo run as follow (see createrepo.log):
-------------------------------
$ /usr/bin/createrepo -vd -o /tmp/koji/tasks/273/273/repo \
-i /data/koji/repos/moblin2-build/49/i386/pkglist \
-u http://172.16.70.33/packages \
-g /data/koji/repos/moblin2-build/49/groups/comps.xml \
/data/koji/packages/
=======================

The above command has no "--update --skip_stat",and now looks like ok!
I'll recomment the three lines later.

Thanks,



2009/6/3 李建 <lijian.gnu@gmail.com>
My koji server have kojihub,kojiweb,kojira,kojid, When I modified the server ip from 172.16.70.249 to 172.16.70.33 . I modified the kojira,kojid,kojihub,kojiweb's ip info . But the yum also use 172.16.70.249 . I already "koji regen-repo" also.

---------------------------
/usr/bin/yum --installroot /dist/mock/moblin2-build-55-45/root/  groupinstall build
...
 udev                    i586       136-22.1.moblin2  build             337 k
 unzip                   i586       5.52-12.119.moblin2  build             138 k
 usleep                  i586       1-1.43.moblin2   build             5.7 k
 util-linux-ng           i586       2.14.1-11.26.moblin2  build             2.0 M
 zlib                    i586       1.2.3-29.4.moblin2  build              48 k

Transaction Summary
=============================================================================
Install    105 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 84 M
http://172.16.70.249/packages/bash/3.2/29.3.moblin2/i586/bash-3.2-29.3.moblin2.i586.rpm: [Errno 4] IOError: <urlopen error (113, '\xe6\xb2\xa1\xe6\x9c\x89\xe5\x88\xb0\xe4\xb8\xbb\xe6\x9c\xba\xe7\x9a\x84\xe8\xb7\xaf\xe7\x94\xb1')>
Trying other mirror.
http://172.16.70.249/packages/less/418/9.14.moblin2/i586/less-418-9.14.moblin2.i586.rpm: [Errno 4] IOError: <urlopen error (114, '\xe6\x93\x8d\xe4\xbd\x9c\xe5\xb7\xb2\xe7\xbb\x8f\xe5\x9c\xa8\xe8\xbf\x9b\xe8\xa1\x8c')>
Trying other mirror.

==========================

Did anyone can help me ? Thanks for you help!


--
李建
msn  lijian.gnu@gmail.com




--
李建
msn  lijian.gnu@gmail.com