undo make deinstall

Dan Nelson dnelson at allantgroup.com
Wed Oct 21 19:50:01 UTC 2009

In the last episode (Oct 21), Chad Perrin said:
> On Wed, Oct 21, 2009 at 12:38:48PM -0700, Chuck Swiger wrote:
> > On Oct 21, 2009, at 12:28 PM, Chad Perrin wrote:
> > >How does one undo a `make deinstall` when `make reinstall` fails?
> > 
> > Do you have a package of this port handy?-- try doing a pkg_add of  
> > that...
> It is, for the moment, a hypothetical question -- based on an experience a
> year or so ago.  I'd like to avoid having the same problem again
> (deinstalling and reinstalling something, then finding the reinstall
> didn't work) without having an idea how to undo the damage of deinstalling
> something that actually worked.  So .  .  .  assume for argument's sake
> that I haven't gone out of my way to create a package in advance, for a
> sort of "worst case scenario".

 pkg_create -b

portupgrade uses this when upgrading, so it can roll back failed installs.

	Dan Nelson
	dnelson at allantgroup.com

More information about the freebsd-questions mailing list