From owner-freebsd-questions@freebsd.org Thu Sep 13 19:37:14 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 E32761097340 for ; Thu, 13 Sep 2018 19:37:13 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (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 7627F7FA84 for ; Thu, 13 Sep 2018 19:37:13 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yb1-xb35.google.com with SMTP id k5-v6so3768360ybo.10 for ; Thu, 13 Sep 2018 12:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=9Lp3lvda9Ujpf4pNylvPJaTs4XI9OPiPFbzfKWCfyeE=; b=t0TFTWx8W8kIFgZnp2Tf4yWfX3ZHCgCzaJ4RNL9aAlHqB+l2WkmPOxwugDsHnbVVZQ ch8lmiMomJy5nglRRr0aH4Sx3oKVJumjCCs9mbIqMGXm97wMmgSC4vOIh6ZhPO/H3qrE fhZnMra+59R+IxzL7G2xTBr3J/oD/FuIb/FmnNRjCI0TjdYPq9HTeX8gVmq0wTB+AP7A x3cxOx60cMk8ixLcZQMQbfypcuW55RiGMDqcUCkfNd/Hg/R3n6bAIOCU19lWZh5Vl66V lzIscJOwfyRdJA6xvsTiIs1s1bkJMhXzNVMuwqX9cIjxuJ2LNWju0693CbRtJOCPiP5t mmPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=9Lp3lvda9Ujpf4pNylvPJaTs4XI9OPiPFbzfKWCfyeE=; b=ugvyH0H6CjI/NRsK6w+RjTPMpVtkQ1cHV3O2dYWMwUzVuvAJ0ndGBihOT55RrGRdXK DY5zVdRxzPMOzk/3c8S2MOVyiwg5IN0DFWUFA/ym1M6Yy89SEwVS54B7mK3X/At2m5l/ 060yvitN3H/ni9nGf/5S4RE9OISdW3Cq3roUjrhQ1Usf9oy+n8dGxPU8ZBkrl87aUY+D cIiMSI6djOFkMrKMbbse+xzTKof8NGoPk9KXcE4ruHp+djRv0HwGz1JJGfmdwnQ8QmZ0 i6vLyht/NeStAhhOJG7gsqVT7W08c7X2ZxjT5apABja/UHTLuMlfTL38OQVRZGkie06D tKdQ== X-Gm-Message-State: APzg51DhnNgp+gq2SZS3gg1Wop1Jph1MoJILz+8HGVVeBEIr0lzfMV1d OJ82m7WxvhIbHFlkoOKB4FhSLKAc7VG/CHUxSyU= X-Google-Smtp-Source: ANB0VdZFYebhq9LZpPF1/PxYKSDegKi/9CxJdthGjHHSm1p+/EZ6fZ4Rzj1cGAlJMKswHo5nEJupyCP0hwOapyBSnzI= X-Received: by 2002:a25:fc0a:: with SMTP id v10-v6mr4355555ybd.365.1536867432754; Thu, 13 Sep 2018 12:37:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:9003:0:0:0:0:0 with HTTP; Thu, 13 Sep 2018 12:37:12 -0700 (PDT) In-Reply-To: <20180913153344.GA50367@gmail.com> References: <20180913153344.GA50367@gmail.com> From: William Dudley Date: Thu, 13 Sep 2018 15:37:12 -0400 Message-ID: Subject: Re: sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2 To: Matt Smith , William Dudley , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2018 19:37:14 -0000 Is there a way to file a bug report against the upgrade instructions to fix this? It should say: run pkg -f upgrade and possibly rebuild all your ports if pkg fails to run, use: pkg-static -f install pkg pkg -f upgrade Right now, it fails entirely to mention pkg, and it also doesn't mention that pkg may break and you need to use pkg-static. Bill Dudley This email is free of malware because I run Linux. On Thu, Sep 13, 2018 at 11:33 AM, Matt Smith wrote: > On Sep 13 09:29, William Dudley wrote: > >> replying to my own questions. >> >> The upgrade directions didn't state that I had to run pkg-static to >> upgrade >> pkg, >> and then do pkg upgrade. They just said "rebuild ports", of which I have >> none. >> >> So some googling revealed the missing instructions, and I am running pkg >> upgrade >> as I write this. >> >> Here, so the answers will be found by a search, is the missing >> documentation: >> >> After the final freebsd-update install and reboot, do this: >> >> pkg-static -f install pkg >> pkg upgrade (or possibly "pkg -f upgrade") >> >> > This is the problem. You run freebsd-update three times. The final time > deletes the old shared libraries and binaries that were on the old system > and are no longer on the new system. > > What you should do is run it twice, then run pkg upgrade to reinstall all > the packages, and then run it the final time. > > The workaround if you do what you did is to use pkg-static instead, so > it's good that you found this out. But I agree it should be mentioned in > the upgrade instructions. This happens quite often. > > -- > Matt >