From owner-freebsd-ports@FreeBSD.ORG Fri Feb 10 10:20:06 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4DD816A420 for ; Fri, 10 Feb 2006 10:20:06 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 379AB43D45 for ; Fri, 10 Feb 2006 10:20:05 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (localhost.localdomain [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id k1AAK5Bd005538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Feb 2006 02:20:05 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.8/Submit) id k1AAK5fU005536; Fri, 10 Feb 2006 02:20:05 -0800 Date: Fri, 10 Feb 2006 02:20:05 -0800 From: "Loren M. Lang" To: "[LoN]Kamikaze" Message-ID: <20060210102005.GA3489@alzatex.com> References: <43E711DB.40608@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <43E711DB.40608@gmx.de> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on hosea.tallye.com X-Virus-Status: Clean Cc: ports@freebsd.org Subject: Re: portupgrade slow X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 10:20:06 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > On another machine it only takes 15 minutes before starting updates. >=20 > 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. >=20 --=20 Loren M. Lang lorenl@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 =20 --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD7GjVbTXoRwEYo9IRAmTMAJ9NNGmK8crwCQDVHaAE+nHSQbM0rQCfW+8o bQcSKwPxSgqbQRv7z5yY/hU= =65IW -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--