Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 11:15:13 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-stable@freebsd.org
Subject:   Re: Accidentally aborted upgrade via freebsd-update - how to recover?
Message-ID:  <4D19B8B1.1060404@my.gd>
In-Reply-To: <20101228062028.GA95888@eggman.experts-exchange.com>
References:  <20101227224426.GA11955@lava.net>	<20101227224752.GC1505@eggman.experts-exchange.com>	<20101227225828.GB11955@lava.net> <4D1931FA.3070403@my.gd>	<4D1934B3.8080102@FreeBSD.org> <20101228062028.GA95888@eggman.experts-exchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 12/28/10 7:20 AM, Jason Helfman wrote:
> On Mon, Dec 27, 2010 at 04:52:03PM -0800, Doug Barton thus spake:
>> On 12/27/2010 16:40, Damien Fleuriot wrote:
>>>
>>>
>>> On 12/27/10 11:58 PM, Clifton Royston wrote:
>>>>
>>>>    OK, and oh well...  I wish there were some way to automate the
>>>> diffing
>>>> out of the $FreeBSD lines.  I suppose those might be the artifact of
>>>> some previous upgrade, so that the file version present is not the one
>>>> expected for FreeBSD 6.1.
>>>>
>>>>    -- Clifton
>>>>
>>>
>>>
>>> Wait, do you mean like, mergemaster -F ?
>>>
>>> Excerpt from the manual:
>>>       -F          If the files differ only by VCS Id ($FreeBSD) install
>>> the new file.
>>>
>>>
>>> I've discovered this rather recently, it's a *lifesaver*
>>>
>>> This comes from fbsd7's version though, I can not say for the one you're
>>> still running on fbsd6
>>
>> You always want to run mergemaster from the version you are upgrading
>> _to_. It doesn't happen often (by design) but occasionally mergemaster
>> has to grow "special knowledge" of specific files/directories/etc. in a
>> new FreeBSD version.
> 
> As far as I can tell, freebsd-update doesn't use mergemaster.
> 
> /usr/src/usr.sbin/freebsd-update/freebsd-update.sh
> 
> Source installation does, however I don't believe a binary upgrade does.
> 


Wouldn't it be possible for him to invoke mergemaster manually though,
so that his configuration changes get merged much easier ?

This implies having a current version of mergemaster and the new
configuration files to compare though...



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