From owner-freebsd-questions@freebsd.org Tue Aug 27 16:19:36 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD8D5D9642 for ; Tue, 27 Aug 2019 16:19:36 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (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 46HvGH5Dh6z43RK for ; Tue, 27 Aug 2019 16:19:35 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id E62DE2943; Tue, 27 Aug 2019 12:19:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 27 Aug 2019 12:19:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=y rxjzdWqOQCSeHoNikHzuQrjM/SuuwTwwCYTJec5Wrk=; b=QATItYrJMjesxtHSL AmG8ySjAQf9wOSTsorHYBzMhCURBeAYgCMMyrzNHBZhiHd42f6/qxF5VzXWcpRK5 1WkESV3ybSPQ2xsk+/7G/0i9CS1BEA6XpjA17DEFjgiJV8V0IYytjf+lhd7e8ePi w/ANpypX7VFFnPnsoz2I3QykEXqL0N1cWaSyL93uj22CgYxHDhuRi1tOGkKifmcp qkodSjO7stFgLBrAUuAZPNFh1raKJv0eNNf68ZOxC6fPLRUQEVfTjiclXH9IPDBS OCiB7Ao7NRNxKn+9zdMJmGD73v3JlIq33O24gRGLRTuuAuXPK0uRi9RtTPppYCGd VXrMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=yrxjzdWqOQCSeHoNikHzuQrjM/SuuwTwwCYTJec5W rk=; b=KHLyFHMIIlAqC5j3uQ68X1mgFM3AN2m7/6J6tX8qyRRB9Nh5xKkJaYQa7 5xkEs8FFr3X3EH1TCSVmUWIwEuN7YufXRzKNZ6x2xgVK967/iPuEE/XTWUox4xgZ fRO1wDHk6+Loy2KY2qyuS9azIpuK6BvEx72s8WPPx4mOrmPVkfFKCvf+YI/HbiBj EtzhVEE0dPDR0JVSq9AEYOZk25434PvcpBcsnctJN4DXP4AwJ1WxM/FsevUsDoJH 0O/JQAzyOu0BlWt4uEHBBcbo9QaEi/XVPAxVsUIzMovO2YPU4h5tCOWRAWGLlykh T0z9qkE90677L/RK/cEX5VV6DTYFw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudehkedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepjghurhhi ucfrrghnkhhovhcuoeihuhhrihhpvheshihurhhiphhvrdhnvghtqeenucffohhmrghinh epfhhrvggvsghsugdrohhrghenucfkphepudelhedrvddtiedrudekfedrudeijeenucfr rghrrghmpehmrghilhhfrhhomhephihurhhiphhvseihuhhrihhpvhdrnhgvthenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [195.206.183.167]) by mail.messagingengine.com (Postfix) with ESMTPA id BA76AD6005F; Tue, 27 Aug 2019 12:19:32 -0400 (EDT) Subject: Re: pkg install not installing latest version of package To: James E Keenan , freebsd-questions@freebsd.org References: <62ba46e6-6d39-4a30-2deb-57f86becf5ea@pobox.com> From: Yuri Pankov Message-ID: <50f4ff05-fdc3-bd7e-246d-b21ef5622182@yuripv.net> Date: Tue, 27 Aug 2019 19:19:31 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <62ba46e6-6d39-4a30-2deb-57f86becf5ea@pobox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46HvGH5Dh6z43RK X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuripv.net header.s=fm1 header.b=QATItYrJ; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=KHLyFHMI; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuripv@yuripv.net designates 66.111.4.221 as permitted sender) smtp.mailfrom=yuripv@yuripv.net X-Spamd-Result: default: False [-7.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[yuripv.net:s=fm1,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.221]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[yuripv.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yuripv.net:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; IP_SCORE(-3.49)[ip: (-9.86), ipnet: 66.111.4.0/24(-4.84), asn: 11403(-2.68), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[221.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] 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: Tue, 27 Aug 2019 16:19:36 -0000 James E Keenan wrote: > I have a FreeBSD 13.0 VM installed about a year ago. I would like to > use this VM for ports development. To that end, I would like to install > poudriere. However, I am finding that 'pkg install' is not locating the > latest available version. > > ##### > % uname -mrs > FreeBSD 13.0-CURRENT amd64 > > % sudo pkg update > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > > % sudo pkg install poudriere > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 3 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > poudriere: 3.3.2 > dialog4ports: 0.1.6 > freebsd-release-manifests: 20181211 > > Number of packages to be installed: 3 > > The process will require 2 MiB more space. > 756 KiB to be downloaded. > > Proceed with this action? [y/N]: y > pkg: > http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/All/poudriere-3.3.2.txz: > Not Found > ##### > > But when I go to http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/, I see: > > ##### > poudriere-3.3.2_1.txz 742380 2019-Aug-19 13:30 > ##### > > ... which differs from the tarball "Not Found" only here: > > ##### > poudriere-3.3.2.txz > poudriere-3.3.2_1.txz > ##### > > I would have expected 'pkg install' to be able to handle this > difference. What I am not understanding? Try forcefully updating the pkg db, i.e. `pkg update -f`.