Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2015 12:27:13 -0600
From:      Andrew Gould <andrewlylegould@gmail.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: freebsd-update questions
Message-ID:  <CAFKhKgpEsKLBRh8zqPyTJOCPbeM7wJrpPHKOSL2Bw7mBqTR4%2BQ@mail.gmail.com>
In-Reply-To: <54B37A5F.5050302@infracaninophile.co.uk>
References:  <CAFKhKgqaHbzWRpxBginmH91s2YVgtzZZsAdHX2T_5OjdnQ1Qag@mail.gmail.com> <54B37A5F.5050302@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 12, 2015 at 1:40 AM, Matthew Seaman <
m.seaman@infracaninophile.co.uk> wrote:

> On 12/01/2015 04:08, Andrew Gould wrote:
> > I ran 'freebsd-update fetch', but forgot to run 'freebsd-update install'.
> > Later, I decided to upgrade, to 10.1, so I ran 'freebsd-update -r
> > 10.1-RELEASE upgrade'.  So now I have fetched an update and an upgrade.
> > What will happen if I run 'freebsd-update install'?
> >
> > Is there a way to delete what has been fetched and start over?
>
> Yeah.  'freebsd-update fetch' or 'freebsd-update -r X.Y-RELEASE upgrade'
> prepare a set of patches to install in order to effect an update.  If
> you run one of them but then subsequently omit the 'freebsd-update
> install' step, then run either of those commands again, if the target
> version has changed in the mean time (flipping between 'fetch' and
> 'upgrade' counts), it will download a new set of patches to update the
> installed system to the new desired version.  This will take advantage
> of any patches already downloaded and sitting in freebsd-update's cache,
> but otherwise it recreates the update job from scratch.  It will ignore
> any patches not relevant to the update you requested.
>
> So the way you start over is to rerun your 'fetch' or 'upgrade' command,
> but only if there are new patches to download.
>
>         Cheers,
>
>         Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.
>
> PGP: http://www.infracaninophile.co.uk/pgpkey
> JID: matthew@infracaninophile.co. <matthew@infracaninophile.co.uk>


Does anyone have a link to documentation that shows how to deal with
merging configuration files in upgrading via freebsd-update?  The online
manual mentions the topic but doesn't provide much guidance.

Thanks,

Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFKhKgpEsKLBRh8zqPyTJOCPbeM7wJrpPHKOSL2Bw7mBqTR4%2BQ>