From owner-freebsd-ports@FreeBSD.ORG Mon Sep 4 23:49:13 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F2C16A4DA for ; Mon, 4 Sep 2006 23:49:13 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CEB543D4C for ; Mon, 4 Sep 2006 23:49:12 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id E3013DA198F for ; Mon, 4 Sep 2006 19:49:10 -0400 (EDT) Received: from heartbeat2.internal ([10.202.2.161]) by frontend3.internal (MEProxy); Mon, 04 Sep 2006 19:49:12 -0400 X-Sasl-enc: QrTnukWaf9rRkFmd/F+MmE3Blxf41l6vxcDP0IkTanxh 1157413752 Received: from [192.168.1.2] (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 1AEE630EA for ; Mon, 4 Sep 2006 19:49:11 -0400 (EDT) From: RW To: freebsd-ports@freebsd.org Date: Tue, 5 Sep 2006 00:48:56 +0100 User-Agent: KMail/1.9.3 References: <44FC4303.4050600@gmail.com> <200609042118.09134.list-freebsd-2004@morbius.sent.com> <44FC9527.6000802@gmail.com> In-Reply-To: <44FC9527.6000802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609050048.57718.list-freebsd-2004@morbius.sent.com> Subject: Re: portmaster deletes failed ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 23:49:13 -0000 On Monday 04 September 2006 22:05, Rene Ladan wrote: > RW schreef: > > On Monday 04 September 2006 16:15, Rene Ladan wrote: > >> Hi, > >> > >> I ran my approx. daily portmaster -a -d run this morning. It started > >> upgrading sysutils/bsdstats, but failed because pkg-install was not > >> present. When that file got committed later this morning, portmaster > >> didn't upgrade the port because ... (huh ?) ... bsdstats was not > >> installed anymore. > > > > The old version of a package must be deleted before a new one can be > > installed. Build tools like port[upgrade|manager|master] create a backup > > package file from the existing installed files, which is supposed to be > > reinstalled, if the port install fails. > > I forgot to mention in my original mail that I did: > # portsnap fetch update > # portmaster -a -d > (build failed, pkg deleted) > (...) > (read mail about bsdstats being fixed) > # portsnap fetch update > # portmaster -a -d > > > You're seeing a bug rather than a missing feature. > > I know. I don't use portmaster myself, but I just took a look at the script and, unless I'm missing something, it does appear that this feature is missing from portmaster. There an option to create backup packages, but nothing to automatically restore the previous version if the install fails.