Subject: Re: package oddity
To: Steven M. Bellovin <smb@research.att.com>
From: Johnny C. Lam <jlam@netbsd.org>
List: netbsd-users
Date: 05/24/2002 12:31:13
On Thu, May 23, 2002 at 09:52:59AM -0400, Steven M. Bellovin wrote:
> >
> >I guess that suse_base has a REQUIREDBY entry pointing to that version of
> >communicator. I don't know how it has got there, but you may try to
> >remove it manually. Go to /var/db/pkg/suse_base*/+REQUIREDBY, edit that
> >file and remove the reference to communicator...
> >
> >Should solve the problem.
> >
> 
> Unfortunately, it doesn't -- there's no entry in that file for it.  
> Grep find it in pkgdb.byfile.db, but that's a db file.  Is there any 
> tool for rebuilding it from scratch?

You can run "pkg_admin rebuild" as root to rebuild the pkgdb.byfile.db
from the PLISTs of installed packages.  I often run it after deleting
large packages to compact this file a bit.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>