Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2006 10:43:58 +0200
From:      hans@lambermont.dyndns.org (Hans Lambermont)
To:        Freddie Cash <fcash@ocis.net>
Cc:        ports@freebsd.org
Subject:   Re: portmaster deletes failed ports
Message-ID:  <20060907084358.GJ89080@leia.lambermont.dyndns.org>
In-Reply-To: <60494.24.71.118.34.1157599049.squirrel@webmail.sd73.bc.ca>
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> <op.tff6qjqvzq5pz4@sovaio.netoldies.com> <60494.24.71.118.34.1157599049.squirrel@webmail.sd73.bc.ca>

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



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