Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 13:16:10 -0500
From:      Brian Reichert <reichert@numachi.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Brian Reichert <reichert@numachi.com>, Adam Weinberger <adamw@FreeBSD.ORG>, ports@FreeBSD.ORG
Subject:   Re: How flexible _is_ the use of ports?
Message-ID:  <20021031131610.U618@numachi.com>
In-Reply-To: <1036068877.393.8.camel@lerlaptop.lerctr.org>; from ler@lerctr.org on Thu, Oct 31, 2002 at 06:54:36AM -0600
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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		<reichert@numachi.com>
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




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