From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 11:51:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D6F420C for ; Wed, 24 Sep 2014 11:51:44 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38A33DBE for ; Wed, 24 Sep 2014 11:51:44 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-35.adsl.hiwaay.net [216.180.19.35]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8OBpgGu004226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 24 Sep 2014 06:51:42 -0500 Message-ID: <5422B1C5.1030400@hiwaay.net> Date: Wed, 24 Sep 2014 06:57:57 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg must be version 1.3.8 or greater References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 11:51:44 -0000 On 09/23/14 01:44, Ruben Schade wrote: > Hi everyone, > > Running FreeBSD amd64 10.0-RELEAESE-p9. Installed everything from pkg, > very nice system. > > Prefer building nginx from ports, so portsnapped the latest tree and > did the usual: > > > # cd /usr/ports/www/nginx > > # make install clean > > Got the following error: > > ===> nginx-1.6.2,2 pkg(8) must be version 1.3.8 or greater, but you > have 1.3.7. You must upgrade pkg(8) first. > > Running pkg update however: > > > FreeBSD repository is up-to-date. > > All repositories are up-to-date. > > And pkg upgrade: > > > Updating FreeBSD repository catalogue... > > FreeBSD repository is up-to-date. > > All repositories are up-to-date. > > Checking for upgrades (1 candidates): 100% > > Checking integrity... done (0 conflicting) > > Your packages are up to date. > > Fairly new to pkgng, could that "1 candidates" line be the updated pkg > I need in waiting? > > Thanks, > Ruben > The portsnap messes with pkg's logic about what needs upgrading & what doesn't, there have been other posts on this topic over the last several weeks (notably from me) .... Ports & Pkg's are usually updated by the maintainers about weekly, ports often/usually on Wednesday, Pkg's on Saturday. My experience is that if you wait until Saturday, your 'pkg-upgrade' will work as desired & you will be off to the races. Alternatively, you can 'pkg install -yf ....' your pkg & move on immediately .... In general, for me, you should do any pkg-upgrades *before* you mess w/ ports. $0.02, no more no less .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.