From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 11:20:30 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 49987750 for ; Wed, 24 Sep 2014 11:20:30 +0000 (UTC) Received: from st11p00mm-asmtp001.mac.com (st11p00mm-asmtp001.mac.com [17.172.81.0]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C662A40 for ; Wed, 24 Sep 2014 11:20:29 +0000 (UTC) Received: from [192.168.1.10] (97-88-48-163.dhcp.roch.mn.charter.com [97.88.48.163]) by st11p00mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NCE00CDEKTWCA60@st11p00mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Wed, 24 Sep 2014 11:20:22 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-09-24_05:2014-09-24,2014-09-24,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1409240111 Message-id: <5422A93E.8060203@icloud.com> Date: Wed, 24 Sep 2014 06:21:34 -0500 From: Brandon Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 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:20:30 -0000 Version 1.3.8 of pkg must not have been built for the pkg repo yet. You could install pkg from ports or just wait until it gets updated. On 9/24/2014 4:44 AM, Rick Miller wrote: > On Tue, Sep 23, 2014 at 2:44 AM, 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? > > > Scenarios like this are the reason I've deployed and been using Poudriere > to build private repos because intermingling the two systems has proven to > introduce numerous challenges through my own experiences and observations > on a number of mailing lists. > > It is simple to setup a system to build private repos with Poudriere, but > one doesn't even need Poudriere to do it. A private repo is as simple to > build as building the packages via Ports, copying them to your repo > directory, and running `pkg repo` on it. >