From owner-freebsd-questions@freebsd.org Thu Apr 11 16:13:37 2019 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 C905115880B7 for ; Thu, 11 Apr 2019 16:13:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A22C6D4DA for ; Thu, 11 Apr 2019 16:13:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from leaf.local (unknown [88.212.184.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 9D7F92635 for ; Thu, 11 Apr 2019 16:13:34 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=fail (p=none dis=none) header.from=infracaninophile.co.uk Authentication-Results: smtp.infracaninophile.co.uk/9D7F92635; dkim=none; dkim-atps=neutral Subject: Re: certbot binary broken on update to py27-certbot-0.31.0_1,1 To: freebsd-questions@freebsd.org References: <3a443850-81cf-0de8-0946-16a588cb0473@ifdnrg.com> From: Matthew Seaman Message-ID: Date: Thu, 11 Apr 2019 17:13:32 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <3a443850-81cf-0de8-0946-16a588cb0473@ifdnrg.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit 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, 11 Apr 2019 16:13:38 -0000 On 11/04/2019 16:43, Paul Macdonald via freebsd-questions wrote: > > Hi, > > updating cerbotĀ  as > > Upgrade of py27-certbot-0.31.0,1 to py27-certbot-0.31.0_1,1 complete > > leaves > > /usr/local/bin/certbot-2.7 > > but no /usr/local/bin/certbot With the recent switch to the 2019Q2 branch, the default version of python was changed to python-3.6, and it's only the default version that automatically gets the symlink to the unversioned name of the script. You have several options available to you: * Switch to the python-3.6 flavour of certbot: # pkg install py36-certbot (Recommended). Note: you can have both python-2.7 and python-3.6 installed simultaneously, as you can most python modules, so this shouldn't require you to completely reinstall everything pythonic on your system. * Make the symlink yourself: # cd /usr/local/bin # ln -s certbot-2.7 certbot * If you build your own packages and are dead set on sticking with python-2.7 then add to /etc/make.conf something along the lines of: DEFAULT_VERSIONS+= pythom=2.7 Cheers, Matthew