From owner-freebsd-questions@freebsd.org Thu Dec 20 18:52:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E76F213506D0 for ; Thu, 20 Dec 2018 18:52:11 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFF218DD32 for ; Thu, 20 Dec 2018 18:52:10 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: by mail-qt1-x831.google.com with SMTP id n32so2953937qte.11 for ; Thu, 20 Dec 2018 10:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=pyCYwnefk7hG3PSaKoSJS76tmuwvOAyjSOTQNpOfx8s=; b=sEzC9DycPB8wqCIvjhN4juQ/V1xjcWQV//xKraC73PBK9pl3YUF1kVoMFczygofITZ 83hnduw7mDnSVwRdQWzpHG9mkVVIBaJyz8QGLwaBJCOdIsxt+4oNseYiJGPFe/tr3+1k 3qGP1qnd4iyjbxwERhnPGgD9+TuOPHakIDOV3UJnTjuu0z6DLbQSPg51/GHrPyJz8mnP c4932UwfNQEkZpHxEGzkGSo9juHCAZAEflBH54o95V+HQ01wPfnfz09XmI6ChqWqOScu fD9Qxd9qSQkDsFQMW3f3uIUtLcLle89Xo06V9C91RVdBK8BdbkQ3RufFxadgFDQrb+7g 4afA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pyCYwnefk7hG3PSaKoSJS76tmuwvOAyjSOTQNpOfx8s=; b=mCQBzDa8YpOG5hip5qLXWPztNmIw2UYldFUcG/Hy1Zz+gMS2Skiz/VEnJi4ufQoC9f eT8fu+lNLzcIU4UrM6XWiQC1d38ePc4HuB22HG9hZizAZwtnsopiasTx8Nl5kEOFpJDE CM55LmdKnWIgCaYPYDcjY9lyfb/5sz+iepn7EwhMQjrYjrzr1LZGKYF4QoTijVqG6l8b VSrKNCSjX4dFvNH3ouVet741G8qIQT/qYtkphwldXRag41nVEqANMexPpubUuigASsws iPt0XCseGDt/by4RrCckiGV1jSHiPMBSqg1ndi9iJqqQgDf9rzEiUF3Okz0wrOgLRIHT M2KQ== X-Gm-Message-State: AA+aEWY1795FXYwP/ZAZB/a1Jq0GBE0yLLZY7p7jCsxAuygs3VlWGTit A/RALtWNgskWenO/bxk/ZUT8gxps6P7mYXcyK9iy X-Google-Smtp-Source: AFSGD/UuC2vUQvDr2IwhomgMQMXlGtHLpFqnXkJALAbZ+RgQJpAG9/gqFNYHh0YRR01qSa5uTcy8DBVgqmiBrvs8Jx4= X-Received: by 2002:ac8:149:: with SMTP id f9mr27189592qtg.221.1545331929970; Thu, 20 Dec 2018 10:52:09 -0800 (PST) MIME-Version: 1.0 From: Scott Ballantyne Date: Thu, 20 Dec 2018 13:51:59 -0500 Message-ID: Subject: Upgrade to 11.2 failure To: FreeBSD X-Rspamd-Queue-Id: EFF218DD32 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=sEzC9Dyc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of boyvalue@gmail.com designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=boyvalue@gmail.com X-Spamd-Result: default: False [-5.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-2.23)[ip: (-7.88), ipnet: 2607:f8b0::/32(-1.79), asn: 15169(-1.42), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.73)[-0.730,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2018 18:52:12 -0000 Ok, this is here as a cautionary tale, not as flamebait. Let me preface this by saying I've been a FreeBSD user for 20+ years and this is the very first time I've had this experience. Up until today, I have been a very happy FreeBSD user with my home and several remote systems running flawlessly. First, all praise to the freebsd ZFS team. Without their solid work, I would be in really deep trouble at the moment. If you read my earlier message, you know that this all started when I tried to upgrade firefox. That hosed the GUI and so now I have to ssh to the box. I'm running 10.4, so the obvious thing to do (which a few people pointed out) was to upgrade to 11.2 or 12.x. I've used FreeBSD-update many times, no problems. So I proceeded to do this. All went as expected until the pkg-static upgrade -f step, which core dumped. i ran a debugger on it, but it is compiled with no symbols, so I can't give much more detail. Out of curiosity, I ran pkg-static to update my emacs. That identified hundreds of binaries whose ABI had changed, so I updated those. pkg-static upgrade -f still seg faulted after that, so I tried pkg-static autoremove after which it updated a few files. I finished with the required final run of freebsd-install and rebooted. Now I couldn't login at all. The system wasn't recognizing my credentials. I booted to single-user, thinking that perhaps I had made an error in editing the password files during the merge, but they were fine. I also discovered that even after the apparently successful runs of freebsd-install and pkg-static upgrade -f that there was software on the system that couldn't find the proper libraries to run. This was obviously a disaster. Fortunately, I had taken zfs snapshots of the filesystems prior to the upgrade and was able to roll things back to the point where only the GUI was hosed. So once again, thanks are due to the creators and porters of ZFS. Obviously, many people have succeeded in doing this and perhaps I made some error, although, as I have said I have done this many, many times. It does seem that the freebsd-update/pkg system is more fragile than I have thought. This isn't a big deal for the stuff I have at homes, but I have come to rely on this combo to update systems to which I don't have physical access. Now I am a bit concerned about doing that. When I have more time, I will go back to my older method of building the system from source. But for now this will have to do. Thanks for reading :) Scott