From owner-freebsd-questions@freebsd.org Tue Aug 27 16:59:16 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 11A63DA3AA for ; Tue, 27 Aug 2019 16:59:16 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (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 46Hw8338CMz45Jl for ; Tue, 27 Aug 2019 16:59:15 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B98847E399; Tue, 27 Aug 2019 12:59:13 -0400 (EDT) (envelope-from jkeenan@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=lY3DyZTKLU5V DytnqyrGyKu2+Wk=; b=KAVSGacPlTznzmCmhvZ5p5rsPVlA4f2nGBrel8EW6suD Tmz0jwBZ+gucKrsK8KsfI8mYmFpG++dIAwyYH/aVK9fw2cJRTujXyewLMbHPUdji 9gcfMEsfhK6VMqytc4btIfpyBznqQvxZQxfszx+OAkAixCwpVympkvGVAGhJHNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=eesriY /m96eLPkexqpYa8+E8ZwiNVKFb0mRAa8OaCWoBbpLqVqvXc3ZdW7w+7Sr9dQ7ehJ KpO+fvJBJOnO6aNXCMQM9yFM3/1C4AphMabzK6NErXujALXrwlnyIQq/JQWVliCO bJFct5QquY6udGWXpoaZrbOnJH1M/TXDh1+TE= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B29B77E398; Tue, 27 Aug 2019 12:59:13 -0400 (EDT) (envelope-from jkeenan@pobox.com) Received: from [192.168.1.6] (unknown [24.185.115.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 35A817E397; Tue, 27 Aug 2019 12:59:11 -0400 (EDT) (envelope-from jkeenan@pobox.com) Subject: Re: pkg install not installing latest version of package To: Yuri Pankov , freebsd-questions@freebsd.org References: <62ba46e6-6d39-4a30-2deb-57f86becf5ea@pobox.com> <50f4ff05-fdc3-bd7e-246d-b21ef5622182@yuripv.net> From: James E Keenan Message-ID: Date: Tue, 27 Aug 2019 12:59:09 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <50f4ff05-fdc3-bd7e-246d-b21ef5622182@yuripv.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: FDE51396-C8EB-11E9-8353-B0405B776F7B-57062903!pb-smtp20.pobox.com X-Rspamd-Queue-Id: 46Hw8338CMz45Jl X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pobox.com header.s=sasl header.b=KAVSGacP; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (mx1.freebsd.org: domain of jkeenan@pobox.com designates 173.228.157.52 as permitted sender) smtp.mailfrom=jkeenan@pobox.com X-Spamd-Result: default: False [-8.54 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_LOW(-1.00)[pobox.com.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[pobox.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[pobox.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; IP_SCORE(-3.45)[ip: (-9.90), ipnet: 173.228.157.0/24(-4.63), asn: 11403(-2.68), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[52.157.228.173.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[142.115.185.24.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] 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:59:16 -0000 On 8/27/19 12:19 PM, Yuri Pankov wrote: > 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`. > Thanks; that worked! jimk