I have created a local repo for CentOS 6 x86_64. I use a machine at 192.168.1.14 for that and created a directory structure /var/www/html/centos/6.2/updates/x86_64 then there are these directories at the location. Packages repodata Both are populated with many files. In my kickstart file I have a line: #repo --name=Updates --baseurl=http://192.168.1.14/centos/6.2/updates/x86_64/ All seems fine. If the line is comment as above the install is fine, just base 6.2 with no updates. If I uncomment the line I get some error about dbus package is incorrect. Is there something I am missing??? My script to keep the local repo up to date is: for VERSION in "6.2" do mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/Packages mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/repodata PLACE="mirror.team-cymru.org/CentOS" rsync -av rsync://$PLACE/$VERSION/updates/x86_64/Packages/* /var/www/html/centos/$VERSION/updates/x86_64/Packages rsync -av rsync://$PLACE/$VERSION/updates/x86_64/repodata/* /var/www/html/centos/$VERSION/updates/x86_64/repodata done Thanks, Jerry
> I have created a local repo for CentOS 6 x86_64.try: cd /var/www/html/centos/6.2/updates/x86_64 createrepo . then chown -R all the files so they're readable by the web server. See if that updates the repodata properly. -- Spiro Harvey Knossos Networks Ltd (04) 460-2531 : (021) 295-1923 www.knossos.net.nz -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20120420/29bfcaa2/attachment-0003.sig>
From: Jerry Geis <geisj at pagestation.com>> If I uncomment the line I get some error about dbus package is incorrect. > for VERSION in "6.2" > do > ? ? mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/PackagesDid you check your apache logs for 404s? Try with VERSION = '6'... JD
I tried the two suggestions: I am now using "createrepo ." and chown -R and chmod -R to make sure they are readable by apache. I also change my repo line from using 6.2 to just use 6. repo --name=Updates --baseurl=http://192.168.1.14/centos/6/updates/x86_64/ I have a symbolic link from 6 to 6.2 There error I get is the same: "fatal error occured when installing the dbus package." Exit installer. Doing ALT-F2 at that point and looking around at files in /tmp I see no errors, nothing is in /var/log/ What else can I try? Thanks, Jerry