portsnap and updates using cron

Will Maier willmaier at ml1.net
Wed Aug 31 16:46:55 GMT 2005


On Wed, Aug 31, 2005 at 06:32:17PM +0200, martin hudec wrote:
> On Wed, Aug 31, 2005 at 11:28:03AM -0500 or thereabouts, Will Maier wrote:
> > So what happens when you run:

> >     # /usr/local/sbin/portsnap fetch
> >     # /usr/local/sbin/portsnap update

> They are both running pretty well from command line.

No errors? They update your ports tree as expected?

> Here is full content of portsnap.conf located in /usr/local/etc/:

>   # Defaults:
>   WORKDIR=/usr/local/portsnap
>   PORTSDIR=/usr/ports

>   KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
>   URL=http://portsnap.daemonology.net

This is fine.

Looking back over the thread, you mention that, in cron, you're
running the following:

    portsnap cron
    portsnap -I update
	     ^^

You also say that you think your process isn't functioning because
the ctimes in /usr/ports are too old. You do realize that '-I'
causes portsnap to "update INDEX files, but not the rest of the
ports tree" (man 8 portsnap).

-- 

o--------------------------{ Will Maier }--------------------------o
| jabber:..wcmaier at jabber.ccc.de | email:..........wcmaier at ml1.net |
| \.........wcmaier at cae.wisc.edu | \..........wcmaier at cae.wisc.edu |
*------------------[ BSD Unix: Live Free or Die ]------------------*



More information about the freebsd-questions mailing list