Subject: Re: buildlink ignoring my share libraries!
To: Gert Doering <>
From: Martin Husemann <>
List: tech-pkg
Date: 11/14/2006 16:24:38
On Tue, Nov 14, 2006 at 01:28:15PM +0100, Gert Doering wrote:
> Same here, I removed all packages, rebuild NetBSD -current, and started
> reinstalling all packages.

Ok, here is a how you should be able to recover:

cvs update (at least src/dist/file) and rebuild and install src/lib/libmagic.

Then go to /var/db/pkg and try something like:

  fgrep -l "No shared" */+CONTENTS

This gives you a list of affected pkgs (maybe a few too much)

Now pkg_delete -r those, and run pkg_chk to rebuild all missing stuff.
Maybe not verbatim, but you get the idea ;-)