Subject: Re: equivalent to 'make replace' for binary packages?
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Hubert Feyrer <email@example.com>
Date: 05/10/2005 20:07:37
On Tue, 10 May 2005, Steven M. Bellovin wrote:
> Is there an option to pkg_add that is the equivalent of 'make replace'?
"pkg_add -u" is about the same, modulo the pkg_tarup.
It moves the +REQUIRED_BY file aside, deinstalls the old one, installs the
new one, moves the +REQ* file back.
I *think* I've added a few safety checks before deinstalling to see that
the new pkg fulfills all the dependency requirements of the existing pkgs.
E.g. if a a pkg requires lib-1.* and if you "pkg_add -u lib-2.0", then
this won't work (unless you use -f).
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)