Subject: Re: How to upgrade a package that other packages depend on?
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 05/05/2004 22:51:11
On Wed, 5 May 2004 17:27:56 -0700, Dave Camp <dave@thinbits.com> wrote:
> On NetBSD 1.6, what is the correct way to go about upgrading a package
> (building from source) that other packages depend on?
...
> 'make install' correctly tells me I need to do a 'pkg_delete' and a
> 'make reinstall' to upgrade. However pkg-delete then tells me that
> bind9 depends on openssl, so it can't be safely deleted. Obviously I
> don't want to hose my bind setup...
Welcome to the Achilles Heel of pkgsrc. :-(
The only guaranteed right way to do what you want is to do what you don't
want: uninstall bind; install openssl; install bind.
Lots of people want this fixed and it's being worked on. There are
shortcuts, but I've never used any of them.
--jkl