From owner-freebsd-questions@freebsd.org Thu Sep 13 15:33:49 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 782941091342 for ; Thu, 13 Sep 2018 15:33:49 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 E4F04760B2 for ; Thu, 13 Sep 2018 15:33:48 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id v16-v6so6388189wro.11 for ; Thu, 13 Sep 2018 08:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3oFZq0KKjEXi6LxeyjGmKp+6b3iaS5nMlhySiQT1s6Q=; b=naDgGWpKmrfIch29tBIcpktPVpcTYCO8TphNY3hpbVIwvJcla/ud2UzqPo1twrdJJ1 kPubqEqR2mIjAQsALe9UDIeWmC9Sl3bQdoAhd5bkgJOncHMCbmDVw9RmV+QBF9d7lpXY dP2Afx7RPzTbIxKl2USMwvez+SD+NneyL6J9L3ZOupH3B51mrfW+JTpzXb5sFqrq2WAc E0RfEyxNY1N1U4z5qBVLRVioXkTONUS1wUy1RHqWTDjaqhnk5CSRlXOCl8X4jfWma8z+ xZqzcMTLVfd/AVSMIChq+eoKYoMokQbX7T6X7pDXeyrtjciVg5mJO7W9ZIJ2Fd+9CfUy hgCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=3oFZq0KKjEXi6LxeyjGmKp+6b3iaS5nMlhySiQT1s6Q=; b=YZod26qRofnOUAdoaDjrHVaMgGeXVXRTfSnf9doADxo8B3XTY/7bY6X1/xf7rR5wWX fg90KKYjahqFLhRZEO2LEm559iMvgx2fH014GG1b8mSD+OaZ1klffHmsiHc4yauS/Pf7 yWVrsCVrKemhDg2au2/hkQ0rBvl1AfRx/Tu4s2lWrsaBTfN057gQcAfmrD2ZQaEKLaZ5 nqsyj/ZRDL2Ch8IKIX9pRdg55G/NPPmNCsf4AwzBCwwOLZq2avEwupI5fk2xMsaMPmjb gH0q5s7oeOzY/GxQUeiKuKSJkFPilR0DSwrcBmHobpjWsQeEpluZ76yYYM/lqNkLeuCg KSNQ== X-Gm-Message-State: APzg51CS0EQmWJB0r39tgypVEoZOXw5DbXLf0L6/dkbwVWboTKU92Bb1 nworC4XZHQj1qt4BhM94IRsXx5IF X-Google-Smtp-Source: ANB0VdbUwTwYYA6KsTNpA3P2wsL7tvMyVPL56g4BiKNYiTHPo5ooTLqtRKx6kmNQRgC5BSRIphFufQ== X-Received: by 2002:a1c:af53:: with SMTP id y80-v6mr5868034wme.55.1536852826907; Thu, 13 Sep 2018 08:33:46 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2a02:390:7e52::10]) by smtp.gmail.com with ESMTPSA id 69-v6sm4892754wmb.27.2018.09.13.08.33.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 08:33:46 -0700 (PDT) Date: Thu, 13 Sep 2018 16:33:44 +0100 From: Matt Smith To: William Dudley Cc: freebsd-questions Subject: Re: sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2 Message-ID: <20180913153344.GA50367@gmail.com> Mail-Followup-To: Matt Smith , William Dudley , freebsd-questions References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) 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 15:33:49 -0000 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