From owner-freebsd-ports@FreeBSD.ORG Thu Sep 7 08:44:00 2006 Return-Path: X-Original-To: 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 5AD0A16A4DF for ; Thu, 7 Sep 2006 08:44:00 +0000 (UTC) (envelope-from hans@lambermont.dyndns.org) Received: from lambermont.dyndns.org (lambermont.dyndns.org [82.93.47.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id C381243D46 for ; Thu, 7 Sep 2006 08:43:59 +0000 (GMT) (envelope-from hans@lambermont.dyndns.org) Received: by lambermont.dyndns.org (Postfix, from userid 1001) id 733BC22DCB0; Thu, 7 Sep 2006 10:43:58 +0200 (CEST) Date: Thu, 7 Sep 2006 10:43:58 +0200 To: Freddie Cash Message-ID: <20060907084358.GJ89080@leia.lambermont.dyndns.org> References: <44FC4303.4050600@gmail.com> <200609042118.09134.list-freebsd-2004@morbius.sent.com> <44FC9527.6000802@gmail.com> <200609050048.57718.list-freebsd-2004@morbius.sent.com> <20060905104831.GF89080@leia.lambermont.dyndns.org> <44FDAF66.7090701@FreeBSD.org> <60494.24.71.118.34.1157599049.squirrel@webmail.sd73.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60494.24.71.118.34.1157599049.squirrel@webmail.sd73.bc.ca> User-Agent: Mutt/1.4.2.1i From: hans@lambermont.dyndns.org (Hans Lambermont) Cc: ports@freebsd.org 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: Thu, 07 Sep 2006 08:44:00 -0000 Freddie Cash wrote: > On Wed, September 6, 2006 1:19 am, Bill Blue wrote: >> On Tue, 05 Sep 2006 10:09:58 -0700, Doug Barton wrote: >>> Hans Lambermont wrote: >>>> RW wrote: >>>>> 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. >>>> I can confirm this. The auto-restore-backup would be a nice >>>> feature. Doug ? ;-) >>> I'm extremely reluctant to start trying to think for the user. Down >>> that path lies madness. > > Good. Programs should do what the user tells them to, not try and > guess what the user might want and try to be overly helpful in doing > strange and mysterious things. We agree completely here. > If the install fails, then error out with a nice message. Let the > user decide what to do after that. Exactly. The interesting question now is 'what is a failed upgrade' ? To me that is the system as it was in the state before the upgrade attempt. To you it is the system left as-is exactly where the upgrade process failed. Both approaches are useful, but the first one doesn't exist yet in portmaster. regards, Hans Lambermont