Re: [CentOS] local repo question
> 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 signature.asc Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] local repo question
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] local repo question
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] local repo question
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/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/ > 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. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] local repo question
> > 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 so I did not include it. However the entire message is this: A fatal error occurred when installing the dbus package. This could indicate errors when reading the installation media. Installation cannot continue. Exit Installer Funny thing is there is no dbus "update" at this time. There is no dbus* file in my /var/www/html/centos/6/updates/x86_64/Packages directory. This must be the original dbus package from the 6.2 DVD download. If I comment the "repo" line in my kickstart file - the install goes fine. So the dbus package should be good. It works without the "repo" line. my repo line in my kickstart file is: repo --name=Updates --baseurl=http://192.168.1.14/centos/6/updates/x86_64/ I have re-ran the "createrepo ." and tried my install again with the same results. I am confused. What do I do next? Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] local repo question
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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] local repo question
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. >> > The rest of the message had no additional information so I did not > include it. > However the entire message is this: > > A fatal error occurred when installing the dbus package. > This could indicate errors when reading the installation > media. Installation cannot continue. > > Exit Installer > > > Funny thing is there is no dbus "update" at this time. There is no > dbus* file in my /var/www/html/centos/6/updates/x86_64/Packages directory. > > This must be the original dbus package from the 6.2 DVD download. > If I comment the "repo" line in my kickstart file - the install goes fine. > > So the dbus package should be good. It works without the "repo" line. > > my repo line in my kickstart file is: > repo --name=Updates --baseurl=http://192.168.1.14/centos/6/updates/x86_64/ > > I have re-ran the "createrepo ." and tried my install again with the > same results. > > I am confused. > What do I do next? > > Jerry > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos I may have missed if this was already said: have you looked at /var/log/httpd/error_log and access_log on the repository machine to see the status of the request for the dbus package? Tony Schreiner ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos