Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 01:09:22 +0200
From:      Martin Karlsson <mk-freebsd@bredband.net>
To:        Gary Dunn <knowtree@aloha.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portupgrade: reverting to a previous version
Message-ID:  <20030411230922.GA32300@c-49c170d5.bredbandsbolaget.se>
In-Reply-To: <20030410204346.60b66625.knowtree@aloha.com>
References:  <20030410204346.60b66625.knowtree@aloha.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi. Sorry, this is not a fix for your problem, just a tip for the 
next time...

* Gary Dunn <knowtree@aloha.com> [2003-04-10 20.43 -1000]:
[...snip...]
> The new version of postgresql will not open my database :-(

Ouch! :-(

[...snip...]

> I understand that portupgrade saves the old version of a port. True? Can
> somebody explain how I can recover that version?

The next time you use portupgrade, check out the -b flag, which will 
create, and *keep*,  a package of the old version, and save it in /var/tmp (if you 
have not set $PKG_TMPDIR or $TMPDIR) -- regardless of the success of 
the upgrade.

I hope you can get your data back.
Best wishes,
-- 
Martin Karlsson



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