From owner-freebsd-ports Thu Oct 31 10:16:20 2002 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 C979F37B401 for ; Thu, 31 Oct 2002 10:16:18 -0800 (PST) Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by mx1.FreeBSD.org (Postfix) with SMTP id A2F3643E6E for ; Thu, 31 Oct 2002 10:16:17 -0800 (PST) (envelope-from reichert@numachi.com) Received: (qmail 21666 invoked by uid 1001); 31 Oct 2002 18:16:10 -0000 Date: Thu, 31 Oct 2002 13:16:10 -0500 From: Brian Reichert To: Larry Rosenman Cc: Brian Reichert , Adam Weinberger , ports@FreeBSD.ORG Subject: Re: How flexible _is_ the use of ports? Message-ID: <20021031131610.U618@numachi.com> References: <20021030213055.P618@numachi.com> <1036031545.442.15.camel@lerlaptop.lerctr.org> <20021030222723.Q618@numachi.com> <1036034966.83261.2.camel@lerlaptop.lerctr.org> <20021030223732.R618@numachi.com> <1036035547.83261.4.camel@lerlaptop.lerctr.org> <20021030224350.S618@numachi.com> <20021031035136.GX197@vectors.cx> <20021031010815.T618@numachi.com> <1036068877.393.8.camel@lerlaptop.lerctr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1036068877.393.8.camel@lerlaptop.lerctr.org>; from ler@lerctr.org on Thu, Oct 31, 2002 at 06:54:36AM -0600 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Oct 31, 2002 at 06:54:36AM -0600, Larry Rosenman wrote: > On Thu, 2002-10-31 at 00:08, Brian Reichert wrote: > > Regrettably, my orginal problem with the mozilla browser still seems > > in place, so I'm uncertain how to advance on this without a full > > reinstall... > What is the problem? Mozilla starts, and functions completely, near as I can tell. The symptom is that many of the menus and dialog boxes have no text in them. Mind you, the menus and dialog boxes are coming up, and for those that I've memorized the layout structure, I can still navigate. Without the text, the menu/box is tiny; I have to guess the box is automagically sized to the string it would be presenting. I had assumed a GTK problem, hence my path of reinstalling dependancies had begun. To keep this on topic, sort-of: I know that with the port/package database, there is a list of which files come from which package. Is there a best/official way of saying: for each package in the database of installed packagees for each list-of-files in said package generate a list of files that are not on the system In the event my package database (/var/db/pkg) is lost, is there an analogous method for inferring which ports might have installed? I guess this would rely on expensively perusing INDEX, and comparing a list of files on your system to files that a part of a ports' list of installed files... I'm certain there are several way to do these things, but I can't quickly guess which way is the 'best' in terms of speed, consuming resources, etc. To my (layman's) eye, there are at least three databases at play: - /usr/ports/INDEX tons of metadata about ports overall. - filesystem set of all files on system, some of which correspond to a file from a port. - /var/db/pkg which ports were installed. I think what I need to explore is how to: - possibly rebuild the /var/db/pkg in case of a loss. - try to build some post-crash checker to see if all of my installed ports are in fact still there. I think my latest rebuild-mozilla-from-ports effort was made difficult because /var/db/pgk was fragged. But, I'm guessing... -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message