Date: Tue, 29 Jan 2002 13:41:08 -0800 (PST) From: Murray Stokely <murray@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall index.c Message-ID: <200201292141.g0TLf8s90170@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
murray 2002/01/29 13:41:08 PST
Modified files:
usr.sbin/sysinstall index.c
Log:
The huge dependency lists of some of our packages has brought
attention to the sub-optimal way that we deal with package
dependencies. Traditionally, for each package in an INDEX that the
user wants to add, we check all of the dependencies first even if the
package is already installed. With some GNOME packages, this can
cause package_extract to be called for 50 different dependencies when
we know the top level package is already installed.
The new behavior is to not check dependencies for packages that are
already installed. This fixes a bug where sysinstall gets itself into
a CPU intensive loop when trying to install sawfish gnome with the
most recent ports/INDEX. There is a bug somewhere in the ports INDEX,
but with over 6,400 ports we need to be a little more forgiving here.
Revision Changes Path
1.95 +14 -1 src/usr.sbin/sysinstall/index.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201292141.g0TLf8s90170>
