From owner-freebsd-questions@FreeBSD.ORG Mon Feb 24 16:19:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E0A32BA for ; Mon, 24 Feb 2014 16:19:54 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D46C8189B for ; Mon, 24 Feb 2014 16:19:53 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s1OGJh0b064070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 24 Feb 2014 16:19:48 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s1OGJh0b064070 Authentication-Results: smtp.infracaninophile.co.uk/s1OGJh0b064070; dkim=none reason="no signature"; dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <530B7116.4040200@freebsd.org> Date: Mon, 24 Feb 2014 16:19:34 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: oops - ran 2nd "freebsd-update install" before rebuilding ports References: <001801cf3173$b331a910$1994fb30$@shaw.ca> In-Reply-To: <001801cf3173$b331a910$1994fb30$@shaw.ca> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iB2B4wsXxopOsLMEIlWUhWpjQNcj8fS86" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 16:19:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iB2B4wsXxopOsLMEIlWUhWpjQNcj8fS86 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/24/14 15:18, Dale Scott wrote: > After going through one upgrade to 10.0-RELEASE from 9.x, I got cocky a= nd > started working on two upgrades from 8.3 to 9.0-RELEASE at the same tim= e. I > forgot which system I was ssh'd into and ran "freebsd-update install" f= or > the 2nd time on one system before rebuilding all the ports, and even pk= g > won't run now as the libutil version it's linked to no longer exists. >=20 > I can afford to have the system down for a day or two, and I'm willing = to be > diverted a little for a learning opportunity, so should I a) try to rec= over > the system from its current state, b) recover the entire system from ba= ckup > and start over, or c) build a new 10.0-RELEASE system from scratch and > recover the data from backup? You should still be able to use pkg_static -- which is, as the name suggests, statically linked. Start by: # pkg_static install -f pkg which should replace your pkg(8) with one compiled for the version of the OS you're running. 10.x comes with /etc/pkg/FreeBSD.conf pointing at the default FreeBSD package mirrors, which is a good place to get a pkg package... You can then work through reinstalling all your ports by whatever means you initially intended. Generally it's best to make a note of wat you want installed, clear down all your installed packages, making backups of any config files as necessary, and then start again with an empty /usr/local. Of course, this implies a bit of service downtime while you do the reinstalling job, but that's hard to avoid in a major version upgrade however you do it. (And you said you didn't really mind anyhow..= =2E) Cheers, Matthew --iB2B4wsXxopOsLMEIlWUhWpjQNcj8fS86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTC3EeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTna58QAKxlUDb/AJ9ed11mdQM8kWgi 5Uc46csggHAVHNuI9ZmkbyTy/QmHMjNWdEfG9ZA/X1r8pZdpr6a4k5QoT3FN/v3+ DnAXIaJIMno1YQWDP9AjjiUWRv0KKTtXe2wDMqyLyC2LS+OZj5PAG8rLl78MuiIq DRIDEJr5AZe3XD0LrZbPXTq2nJWm+G/KWbJCrdLBfL0es/f4V339atjgLPG95usx tZA+e8HCsqb2qr6tQ2XaPYaz+wdgE80Wjdz2xSEg3f1VG0vKQRIOxcGpS1NMKDRH 89yElVLJCgiW8OiIA/fjBoCMtXh5ZpAbh8A+1RVOKMQ41//yixv+xlYfHv/UsGCv CCOlFJyM04+griMnhCE0OtNc52tj5WWAdajAK/y4L+nzHzmdBF2HGcemrr68mzqL lNnsmqQQhKE4UWWJXR4kukmPU3JmFNerQkSSNcoq5+KgNwSaPggbE9ia8dAT/TeA YppkNzMuNVqKgIOTVUhzCQC/GrhL3sncxeXZx5tbH+Cl/2cj/A2vxVekoIA3XZQj 0LVByvR5OCkNR58iHCSNJjJ8PlCFyzaV9GDh1r1WyCqmOqx5+Y+xihEYmXcbr31R wnG50PRtwsJtkZEvC586O/FqK4hO/wfk0S/3Yn2cJNdmcS+Bhr3YS+88REK6Jgc7 NgE3ycCZO+w6AsBuEbwx =Ky37 -----END PGP SIGNATURE----- --iB2B4wsXxopOsLMEIlWUhWpjQNcj8fS86--