From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 16:09:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17E9337B401 for ; Fri, 11 Apr 2003 16:09:59 -0700 (PDT) Received: from mf1.bredband.net (mf1.bredband.net [195.54.106.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82E3343F3F for ; Fri, 11 Apr 2003 16:09:57 -0700 (PDT) (envelope-from mk-freebsd@bredband.net) Received: from localhost.036-23-6f72652.cust.bredbandsbolaget.se ([213.112.193.73]) by mf1.bredband.net with ESMTP <20030411230956.PWYV269.mf1@localhost.036-23-6f72652.cust.bredbandsbolaget.se>; Sat, 12 Apr 2003 01:09:56 +0200 Received: from c-49c170d5.036-23-6f72652.cust.bredbandsbolaget.se (localhost [127.0.0.1])with ESMTP id h3BN9t4F076852; Sat, 12 Apr 2003 01:09:55 +0200 (CEST) (envelope-from mk-freebsd@bredband.net) Received: (from martink@localhost) (8.12.9/8.12.9/Submit) id h3BN9Nr6075654; Sat, 12 Apr 2003 01:09:23 +0200 (CEST) (envelope-from mk-freebsd@bredband.net) Date: Sat, 12 Apr 2003 01:09:22 +0200 From: Martin Karlsson To: Gary Dunn Message-ID: <20030411230922.GA32300@c-49c170d5.bredbandsbolaget.se> Mail-Followup-To: Martin Karlsson , Gary Dunn , freebsd-questions@freebsd.org References: <20030410204346.60b66625.knowtree@aloha.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20030410204346.60b66625.knowtree@aloha.com> X-Powered-by: FreeBSD X-PGP-Keyid: 9C924660 X-PGP-Fingerprint: 5970 BE22 2C33 4D8F 53FD 7E34 66FF 9332 9C92 4660 X-PGP-Key: http://www.krutov.org/martin_karlsson.asc User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: portupgrade: reverting to a previous version X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 23:09:59 -0000 Hi. Sorry, this is not a fix for your problem, just a tip for the next time... * Gary Dunn [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