[CentOS] repo dates and times

Jerry Geis

geisj at pagestation.com
Mon Jun 4 18:41:19 UTC 2012

I am trying to get my kickstart "repo" line to function correctly.

repo --name=Updates --baseurl=

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:

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/* 

/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
	2011-Sep-28 00:33:09 	1.1M 	application/octet-stream
	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 
-rw-rw-r-- 1 silentm silentm 1438440 Jan 23 22:11 

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= 
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.



More information about the CentOS mailing list