Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 02:20:05 -0800
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
Cc:        ports@freebsd.org
Subject:   Re: portupgrade slow
Message-ID:  <20060210102005.GA3489@alzatex.com>
In-Reply-To: <43E711DB.40608@gmx.de>
References:  <43E711DB.40608@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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