Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2019 12:59:09 -0400
From:      James E Keenan <jkeenan@pobox.com>
To:        Yuri Pankov <yuripv@yuripv.net>, freebsd-questions@freebsd.org
Subject:   Re: pkg install not installing latest version of package
Message-ID:  <a95030af-6a7f-a1c4-cec4-2f2ffb6df05e@pobox.com>
In-Reply-To: <50f4ff05-fdc3-bd7e-246d-b21ef5622182@yuripv.net>
References:  <62ba46e6-6d39-4a30-2deb-57f86becf5ea@pobox.com> <50f4ff05-fdc3-bd7e-246d-b21ef5622182@yuripv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a95030af-6a7f-a1c4-cec4-2f2ffb6df05e>