From owner-freebsd-ports@FreeBSD.ORG Tue Mar 25 06:51:14 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 806A446E; Tue, 25 Mar 2014 06:51:14 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D435AF7B; Tue, 25 Mar 2014 06:51:13 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id B8D606A6007; Tue, 25 Mar 2014 07:51:11 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id s2P6pBlr038215; Tue, 25 Mar 2014 07:51:11 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id s2P6pAJ5037726; Tue, 25 Mar 2014 07:51:10 +0100 (CET) (envelope-from lars) Date: Tue, 25 Mar 2014 07:51:10 +0100 From: Lars Engels To: Randy Bush Subject: Re: reason 23 why we've moved to linux Message-ID: <20140325065110.GI37436@e-new.0x20.net> References: <5328A03A.3000305@freebsd.org> <532DD2EB.1080204@freebsd.org> <532DD64B.9000905@freebsd.org> <532DD978.3010502@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h22Fi9ANawrtbNPX" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p4 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Royce Williams , Alfred Perlstein , Colin Percival , FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 06:51:14 -0000 --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 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 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--