From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 05:03:50 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 35F5B47F for ; Thu, 25 Sep 2014 05:03:50 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1ED5F30 for ; Thu, 25 Sep 2014 05:03:49 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XX1DU-0006fv-32 for freebsd-questions@freebsd.org; Thu, 25 Sep 2014 07:03:44 +0200 Received: from 49-156-16-16.rdns.orionvm.com.au ([49.156.16.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 07:03:44 +0200 Received: from newsgroups by 49-156-16-16.rdns.orionvm.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 07:03:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ruben Schade Subject: Re: pkg must be version 1.3.8 or greater Date: Thu, 25 Sep 2014 15:03:32 +1000 Lines: 78 Message-ID: References: <4AA66D80-755C-434E-AB0D-39EE0A3A12B9@shaw.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 49-156-16-16.rdns.orionvm.com.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 In-Reply-To: <4AA66D80-755C-434E-AB0D-39EE0A3A12B9@shaw.ca> 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: Thu, 25 Sep 2014 05:03:50 -0000 On 25/09/14 01:18, Dale Scott wrote: >> On Sep 24, 2014, at 3: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. > > I respectfully disagree that combining the two is unworkable, although I am only dealing with two apps built from ports (and 20'ish from binary packages). > >> 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. > > That's not as hard as I thought, but still more steps. If I hit the wall with my simple strategy I'll try yours. > > Dale > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Thanks everyone, that explains it. Since FBSD 10, I've been trying to see if I can live entirely on pkg, having lived entirely on ports before. Ended up in same boat as you Dale, binary pkg for almost everything, but ports for these specific apps. I'll build pkg from ports, and try again. I'll look into Poudriere too. Cheers :) -- Ruben Schade VM chap in s/Singapore/Sydney/ Site: http://rubenschade.com/ Blog: http://rubenerd.com/