[CentOS] repo dates and times

Jerry Geis geisj at pagestation.com
Mon Jun 4 19:22:55 UTC 2012


On 06/04/2012 02:41 PM, Jerry Geis wrote:
> I am trying to get my kickstart "repo" line to function correctly.
>
> repo --name=Updates 
> --baseurl=http://192.168.1.14/centos/6.2/updates/x86_64/
>
> When I comment the above line my install works, When I uncomment it 
> the install fails
> with a message about dbus package error.
>
> This is my nightly script that runs:
> ===============
> PLACE="mirror.team-cymru.org/CentOS"
>
> mkdir -p /var/www/html/centos/$VERSION/updates/x86_64
> cd /var/www/html/centos/$VERSION/updates/x86_64
>
> mkdir Packages
> rsync -av rsync://$PLACE/$VERSION/updates/x86_64/Packages/* 
> /var/www/html/centos/$VERSION/updates/x86_64/Packages
>
> /usr/bin/createrepo .
> chown -R silentm:silentm /var/www/html/centos/*
> ===============
>
> Everything seems fine. however the dates and times are wrong on the 
> files.
> From the real repo:
> Name     Last Modified     Size     Type
> Parent Directory 
> <http://mirror.team-cymru.org/CentOS/6.2/updates/x86_64/>/         
> -     Directory
> 389-ds-base-1.2.8.2-1.el6_1.3.x86_64.rpm 
> <http://mirror.team-cymru.org/CentOS/6.2/updates/x86_64/Packages/389-ds-base-1.2.8.2-1.el6_1.3.x86_64.rpm> 
>     2011-Sep-28 00:33:09     1.1M     application/octet-stream
> 389-ds-base-1.2.9.14-1.el6_2.2.x86_64.rpm 
> <http://mirror.team-cymru.org/CentOS/6.2/updates/x86_64/Packages/389-ds-base-1.2.9.14-1.el6_2.2.x86_64.rpm> 
>     2012-Jan-24 03:11:51     1.3M     application/octet-stream
>
>
>
> From my repo:
>  ls -l 389*
> -rw-rw-r-- 1 silentm silentm 1221224 Sep 27  2011 
> 389-ds-base-1.2.8.2-1.el6_1.3.x86_64.rpm
> -rw-rw-r-- 1 silentm silentm 1438440 Jan 23 22:11 
> 389-ds-base-1.2.9.14-1.el6_2.2.x86_64.rpm
>
> Notice the dates/times are not the same. not sure if that matters.
>
> Also - I changed my "repo" link to point directly to the
> repo --name=Updates --baseurl= 
> http://mirror.team-cymru.org/CentOS/6.2/updates/x86_64 
> <http://mirror.team-cymru.org/CentOS/6.2/updates/x86_64/Packages/>
> and I got the exact same error about dbus.
>
> What might it be that I am not doing correctly?
> I thought it was my local repo until I pointed to the WEB site directly.
>
> Thanks,
>
> Jerry
This is way tooo wierd. I added to my kickstart file the "-python" to 
not install python and the install
works correctly now.

Not sure why installing python was messing things up.

jerry



More information about the CentOS mailing list