Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 07:51:10 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Randy Bush <randy@psg.com>
Cc:        Royce Williams <royce@tycho.org>, Alfred Perlstein <alfred@freebsd.org>, Colin Percival <cperciva@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: reason 23 why we've moved to linux
Message-ID:  <20140325065110.GI37436@e-new.0x20.net>
In-Reply-To: <m238i6yenw.wl%randy@psg.com>
References:  <5328A03A.3000305@freebsd.org> <m261n6rtkf.wl%randy@psg.com> <532DD2EB.1080204@freebsd.org> <m238iart92.wl%randy@psg.com> <532DD64B.9000905@freebsd.org> <m2zjkiqds8.wl%randy@psg.com> <532DD978.3010502@freebsd.org> <m2y502qda9.wl%randy@psg.com> <CA%2BE3k918C%2Bjg23YKEwOk82pqAaF7GSdk2uvF6P_uSxu1MstWzA@mail.gmail.com> <m238i6yenw.wl%randy@psg.com>

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

--h22Fi9ANawrtbNPX
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 25, 2014 at 03:29:23PM +0900, Randy Bush wrote:
>=20
>=20
> Royce Williams <royce@tycho.org> wrote:
> >=20
> > Colin, adding you to this thread with proposed patch (two options) for
> > freebsd-update, below.
> >=20
> > On Sat, Mar 22, 2014 at 10:49 AM, Randy Bush <randy@psg.com> wrote:
> > >> Honest question, have you been building things from source under
> > >> debian's ports or are you using their version of "pkg"?
> > >
> > > the latter
> > >
> > > and i have two 9 systems where i try to use freebsd-update.  also a
> > > time-consuming rabbit hole leading nowhere pleasant.  e.g.
> > >
> > > # freebsd-update upgrade -r 9.2-RELEASE-p3
> > > Looking up update.FreeBSD.org mirrors... 5 mirrors found.
> > > Fetching metadata signature for 9.2-RELEASE from update5.freebsd.org.=
=2E. done.
> > > Fetching metadata index... done.
> > > Inspecting system... done.
> > >
> > > The following components of FreeBSD seem to be installed:
> > > kernel/generic world/base world/doc world/games world/lib32
> > >
> > > The following components of FreeBSD do not seem to be installed:
> > >
> > > Does this look reasonable (y/n)? y
> > >
> > > Fetching metadata signature for 9.2-RELEASE-p3 from update5.freebsd.o=
rg... failed.
> > > Fetching metadata signature for 9.2-RELEASE-p3 from update2.freebsd.o=
rg... failed.
> > > Fetching metadata signature for 9.2-RELEASE-p3 from update3.freebsd.o=
rg... failed.
> > > Fetching metadata signature for 9.2-RELEASE-p3 from update4.freebsd.o=
rg... failed.
> > > Fetching metadata signature for 9.2-RELEASE-p3 from update6.freebsd.o=
rg... failed.
> > > No mirrors remaining, giving up.
> >=20
> > Randy, you're not the first to specify a patch level in the target
> > release version for freebsd-update.  This failure mode could be more
> > friendly.
>=20
> raid0.dfw.rg.net:/root# freebsd-update upgrade -r 9.2-RELEASE
> freebsd-update: Cannot upgrade from 9.2-RELEASE to itself
> raid0.dfw.rg.net:/root# freebsd-update upgrade              =20
> freebsd-update: Release target must be specified via -r option.

You're using it wrong.

Use "freebsd-update fetch install" to update staying in the currently
running RELEASE branch. So you just get security updates and errata.

Use "freebsd-update upgrade -r 10.0-RELEASE" followed by two
"freebsd-update install" to upgrade to a newer release version.
I admit that the two cals of "freebsd-update install" are consfusing.
The first run installs the new kernel. Then you should reboot the new
kernel and the second installs the new world.
If I'd written freebsd-update I would have called it "installkernel" and
"installworld" to avoid confusion. But apart from that freebsd-update(8)
just works...



--h22Fi9ANawrtbNPX
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iKYEARECAGYFAlMxJ15fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDE3RkMwOEUxNUUwOUJEMjE0ODlFMjA1MDI5
Q0U3NURBQzBGNzY5RjgACgkQKc512sD3afjt1wCfd3TYUUy32tp1ZwfLIYPW7qEd
58oAn1MKr6L5gmKmJSllCbqFGnj7hcYe
=OlO7
-----END PGP SIGNATURE-----

--h22Fi9ANawrtbNPX--



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