Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 14:50:00 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: undo make deinstall
Message-ID:  <20091021194959.GN29215@dan.emsphone.com>
In-Reply-To: <20091021194038.GA46360@guilt.hydra>
References:  <20091021192839.GA12166@guilt.hydra> <62A5FC38-BD7F-4941-B760-ABF2C1700E73@mac.com> <20091021194038.GA46360@guilt.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091021194959.GN29215>