portupgrade slow

Loren M. Lang lorenl at alzatex.com
Fri Feb 10 02:20:06 PST 2006


On Mon, Feb 06, 2006 at 10:07:39AM +0100, [LoN]Kamikaze wrote:
> On my notebook "portupgrade -a" does nothing for 30 minutes before it
> starts updating ports. The cpu load is maxed the whole time.

Try doing a make fetchindex in /usr/ports after you CVSupping the ports
tree.  This will fetch the latest index file matching the CVS head of
the ports tree rather than having to build it by hand as portupgrade
might be attempting.  Also, occasionally newer versions of portupgrade
store data in a newer db format and the old db needs to be removed,
otherwise portupgrade will rebuild the package database everytime it's
running.  Try moving /var/db/pkg/pkgdb.db out of the way and see if tha
fixes the problem.  The first run of portupgrade or pkgdb -u will
rebuild it, but after that it should be lightning fast.

> 
> On another machine it only takes 15 minutes before starting updates.
> 
> Anyway, I remember it starting after a couple of seconds, so I guess
> something goes wrong with parsing the dependencies. Either the latest
> portupgrade is buggy or there is an inconsistency in the ports.
> 



-- 
Loren M. Lang
lorenl at north-winds.org
http://www.north-winds.org/


Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060210/d8066348/attachment.bin


More information about the freebsd-ports mailing list