Re: [CentOS] local repo question

2012-04-20 Thread Tony Schreiner
On Apr 20, 2012, at 12:59 PM, Jerry Geis wrote: >> >> You should post entire error text. Are you sure that that dbus package >> is not corrupted? Try downloading it fo local directory and install from >> there. >> Or just delete dbus rpm and run rsync again (or whatever) and then >> createrepo.

Re: [CentOS] local repo question

2012-04-20 Thread Giovanni Tirloni
On Fri, Apr 20, 2012 at 1:59 PM, Jerry Geis wrote: > my repo line in my kickstart file is: > repo --name=Updates --baseurl=http://192.168.1.14/centos/6/updates/x86_64/ > > Test your repo with yum, try `yum info` on the packages, etc. Take kickstart out of the picture first. -- Giovanni

Re: [CentOS] local repo question

2012-04-20 Thread Jerry Geis
> > You should post entire error text. Are you sure that that dbus package > is not corrupted? Try downloading it fo local directory and install from > there. > Or just delete dbus rpm and run rsync again (or whatever) and then > createrepo. > The rest of the message had no additional information s

Re: [CentOS] local repo question

2012-04-20 Thread Ljubomir Ljubojevic
On 04/20/2012 06:08 PM, Jerry Geis wrote: > 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/

Re: [CentOS] local repo question

2012-04-20 Thread Jerry Geis
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

Re: [CentOS] local repo question

2012-04-20 Thread John Doe
From: Jerry Geis > 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/Packages Did you check your apache logs for 404s? Try with VERSION = '6'... JD __

Re: [CentOS] local repo question

2012-04-19 Thread Spiro Harvey
> 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) 46

[CentOS] local repo question

2012-04-19 Thread Jerry Geis
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