Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2004 14:57:21 +0100
From:      Christopher Illies <christopher.illies@molmed.ki.se>
To:        freebsd-questions@freebsd.org
Subject:   cache-update (portindex) - hangs(?)
Message-ID:  <20041210135721.GA96968@Klabautermann.ks.se>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to figure out the correct way to use 
sysutils/p5-FreeBSD-Portindex. From how I understand it, the procedure for
updating the ports system would be:

to initialise cache, afterwards occasionally :
# cache-init

then for upating the portstree:
# cvsup -g -L 2 ports-supfile
# cache-update
# portindex -o /usr/ports/INDEX-5 (I am using 5-stable)
# portsdb -u (I am also using portupgrade)
# portupgrade -arR (or whatever)

The problem I have is now that cache-init seems to hang: When I start
it there is activity for some seconds (as seen in top), but no output
at all, then silence - but the command promt does not come back. From a
different terminal I get this (not wrapped):

~%ps aux | grep cache-update
root    58657  6.3  2.6  8052 6684  p1  I+    9:50AM   0:08.27 cache-update (perl)

Since cache-update seems to be idle I used to ctrl-C cache-update and 
then proceed, so far without getting into trouble. Is this expected 
behaviour or am I doing something wrong here?

Christopher




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041210135721.GA96968>