Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 15:04:54 +0000
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        David Abrahams <dave@boost-consulting.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portsdb -Uu hung
Message-ID:  <456DA196.6040505@dial.pipex.com>
In-Reply-To: <44y7pujox4.fsf@be-well.ilk.org>
References:  <87psb85yii.fsf@pereiro.luannocracy.com> <44y7pujox4.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Are you *sure* it's hung?  -U does a "make index" in /usr/ports which 
takes *forever* as it has to run a make command in *every single port*. 

If you've just updated your ports tree with cvsup then consider running 
"make fetchindex" from /usr/ports which just grabs the latest pre-built 
version and then just doing "portsdb -u", though anything that needs the 
.db file to be up-to-date will do this automatically.

--Alex

PS The thread you reference seems to be about portupgrade -a which is 
confusing since your subject line says portsdb -Uu.  Though both part of 
portupgrade, the similarity ends there.

Like Lowell said:

>Does it suck up CPU while it's hung?

What does top show for CPU usage?  You will probably not see any process hogging the cpu as, like I said, it's one short make after another after another after another ... repeat until sick.





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