Re: Fetching distfiles via cron does not download...
On Tue, Nov 2, 2010 at 4:08 AM, Leslie Jensen les...@eskk.nu wrote: Hello list. I have the following in /etc/crontab @reboot root portsnap -I cron update /root/bin/cv_portsnap_cron pkg_version -vIL= I don't see where you are doing a portsnap fetch first. If you haven't done a fetch, then the update will probably fail. If the update fails, because you are using it won't execute the next part of your script. The script /root/bin/cv_portsnap_cron #!/bin/sh portmaster --clean-distfiles-all portmaster -aF Message received from cron: === Gathering distinfo list for installed ports === Checking for stale distfiles ]0;portmaster: All === Starting check of installed ports for available updates === Distfile fetching is complete libxul-1.9.2.9_1 needs updating (index has 1.9.2.12) pciids-20101005needs updating (index has 20101020) Even so I do not get the distfiles downloaded. Where am I going wrong? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- -- Lystic http://UnixNews.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fetching distfiles via cron does not download...
On Tue, Nov 2, 2010 at 5:57 AM, Leslie Jensen les...@eskk.nu wrote: Lystic Emsen skrev 2010-11-02 11:53: On Tue, Nov 2, 2010 at 4:08 AM, Leslie Jensenles...@eskk.nu wrote: Hello list. I have the following in /etc/crontab @reboot root portsnap -I cron update /root/bin/cv_portsnap_cron pkg_version -vIL= I don't see where you are doing a portsnap fetch first. If you haven't done a fetch, then the update will probably fail. If the update fails, because you are using it won't execute the next part of your script. According to the handbook this command is supposed to do that. portsnap -I cron update Yeah, you are right, I missed that. However, the problem is that you didn't specify the full path to portsnap. That will cause it to fail and the operator won't let it proceed. When using cron, you need to specify the full path because cron doesn't have access to all the environment variables your normal shell does. -- Lystic http://UnixNews.net http://unixnews.net/ /Leslie The script /root/bin/cv_portsnap_cron #!/bin/sh portmaster --clean-distfiles-all portmaster -aF Message received from cron: === Gathering distinfo list for installed ports === Checking for stale distfiles ]0;portmaster: All === Starting check of installed ports for available updates === Distfile fetching is complete libxul-1.9.2.9_1needs updating (index has 1.9.2.12) pciids-20101005needs updating (index has 20101020) Even so I do not get the distfiles downloaded. Where am I going wrong? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Continuing problem with portsnap
On Tue, Nov 2, 2010 at 6:44 AM, Leslie Jensen les...@eskk.nu wrote: On 2010-11-02 12:38, Vincent Hoffman wrote: On 02/11/2010 11:34, Jerry wrote: Since portsnap' has been failing on my system, I tried a different approach and decided to rebuild the port entirely rather than just download an updated snapshot. This is the result of just such a venture: portsnap fetch extract Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... failed. Fetching snapshot tag from portsnap5.FreeBSD.org... failed. Fetching snapshot tag from portsnap2.FreeBSD.org... failed. Fetching snapshot tag from portsnap6.FreeBSD.org... failed. Fetching snapshot tag from portsnap4.FreeBSD.org... failed. No mirrors remaining, giving up. You will notice that all the mirrors appear broken. Now, I can reach the FreeBSD web site, and every other site I commonly visit without a problem; therefore, I believe the problem resides somewhere with the portsnap mirrors. Can anyone confirm or further thesis this thesis? Can you try editing your /etc/portsnap.conf ? SERVERNAME=eu.portsnap.FreeBSD.org That should make it look for servers closer to you first. -- Lystic http://UnixNews.net http://unixnews.net/ Working from the UK [r...@seaurchin ~]# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Tue Nov 2 02:25:26 GMT 2010 to Tue Nov 2 11:26:20 GMT 2010. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 9 patches. done. Applying patches... done. Fetching 3 new ports or files... done. Working from Sweden, maybe a little slow! As you can see it can't find any mirrors. portsnap fetch Looking up portsnap.FreeBSD.org mirrors... none found. Fetching snapshot tag from portsnap.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Tue Nov 2 09:57:27 CET 2010 to Tue Nov 2 12:26:20 CET 2010. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 4 patches... done. Applying patches... done. Fetching 1 new ports or files... done. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap unable to locate mirrors
From the machine you run portsnap on, try this: nslookup portsnap2.freebsd.org Let me know if that works. It may be a DNS error. On Mon, Nov 1, 2010 at 3:10 PM, Jerry freebsd.u...@seibercom.net wrote: I have been having problems with 'portsnap' for two days now. It continually emits error messages. The latest being: Looking up portsnap.FreeBSD.org mirrors... none found. Fetching snapshot tag from portsnap.FreeBSD.org... failed. No mirrors remaining, giving up. Has anyone else experienced this phenomena? -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ -- -- Lystic http://UnixNews.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems installing php (php5-spl) with portmaster
I just upgrade my php5 port to php5.3 and ran into a similar problem with portupgrade. However, I just unregistered php5-spl, because its no longer necessary. I believe php5-spl and php5-pcre are now integrated into PHP-5.3 by default. I also ran into a couple of other problems. These notes may be of some help later. http://www.unixnews.net/2010/10/error-with-apr-parameter-is-incorrect.html http://www.unixnews.net/2010/10/pcre-error-with-php5-filter-and-php5.html -Lystic On Mon, Nov 1, 2010 at 5:52 PM, Tom Worster f...@thefsb.org wrote: portmaster is looping on devel/php5-spl. it seems as though php5-spl depends on itself. the excerpt below shows two cycles of the recursion. the list php5-spl-5.2.11_1 php5-spl-5.2.11_1 gets one longer on each interation. any ideas how to fix this? thanks tom === Port directory: /usr/ports/devel/php5-spl === Gathering dependency list for devel/php5-spl from ports === Starting dependency check === Checking dependency: devel/autoconf268 === Checking dependency: lang/php5 === The dependency for lang/php5 seems to be handled by php5-pcre-5.2.11_1 === The dependency for lang/php5 seems to be handled by php5-spl-5.2.11_1 === Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2 pear-1.9.0 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 === Port directory: /usr/ports/devel/php5-spl === Gathering dependency list for devel/php5-spl from ports === Starting dependency check === Checking dependency: devel/autoconf268 === Checking dependency: lang/php5 === The dependency for lang/php5 seems to be handled by php5-pcre-5.2.11_1 === The dependency for lang/php5 seems to be handled by php5-spl-5.2.11_1 === Launching child to update php5-spl-5.2.11_1 to php5-spl-5.3.3_2 pear-1.9.0 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 php5-spl-5.2.11_1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- -- Lystic http://UnixNews.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org