From owner-freebsd-questions@freebsd.org Thu Sep 13 21:29:19 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 C38E2109A3CF for ; Thu, 13 Sep 2018 21:29:19 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (maurice.jlkmail.com [IPv6:2606:c700:1:30::23:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64CF08407A for ; Thu, 13 Sep 2018 21:29:19 +0000 (UTC) (envelope-from jim@mailman-hosting.com) Received: from maurice.jlkmail.com (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTP id 165F724C0481 for ; Thu, 13 Sep 2018 17:29:11 -0400 (EDT) Authentication-Results: maurice.jlkmail.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=mailman-hosting.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= mailman-hosting.com; h=user-agent:message-id:references :in-reply-to:subject:subject:to:from:from:date:date :content-transfer-encoding:content-type:content-type :mime-version; s=dkim; t=1536874149; x=1537738150; bh=l7opdbvKje I/KmXZsI5O7ud99O35u5Y99TBs6U7UcH4=; b=RalQV2Tm4uRTCq/eWHSjGSI4LM PT4f4C5/2/lwT+954LKstiCc9nF89+LKEVRb1B+Yc+38RWRMMXQrGOMUnM64DJj7 YSPZzeXS3VOCl9+gjSKARJ2c8Sfjvw91uWUccF8/CKREhSg6BQjDiZX+utDtYG34 Ny1kkQbOmvgCsllPE= X-Virus-Scanned: Debian amavisd-new at maurice.jlkmail.com X-Spam-Flag: NO X-Spam-Score: 0.213 X-Spam-Level: X-Spam-Status: No, score=0.213 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, TVD_RCVD_SINGLE=1.213] autolearn=no autolearn_force=no Received: from maurice.jlkmail.com ([127.0.0.1]) by maurice.jlkmail.com (maurice.jlkmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8lPjflu1Ff7I for ; Thu, 13 Sep 2018 17:29:09 -0400 (EDT) Received: from _ (localhost [127.0.0.1]) by maurice.jlkmail.com (Postfix) with ESMTPSA id 054C124C00AA; Thu, 13 Sep 2018 17:29:09 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 13 Sep 2018 17:29:08 -0400 From: jim@mailman-hosting.com To: Matt Smith , William Dudley Cc: freebsd-questions Subject: Re: sudo,pkg,Mailman all broken after upgrade from 10.3 to 11.2 In-Reply-To: <20180913153344.GA50367@gmail.com> References: <20180913153344.GA50367@gmail.com> Message-ID: <1ad541c0eb960ab8bf970f8461fef4fb@mailman-hosting.com> X-Sender: jim@mailman-hosting.com User-Agent: Roundcube Webmail 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 21:29:19 -0000 On 2018-09-13 11:33, 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. This is in the handbook at https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html in 23.2.3.2. "Upgrading Packages After a Major Version Upgrade".