From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 09:44:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 108454C8 for ; Wed, 24 Sep 2014 09:44:43 +0000 (UTC) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2B91D17 for ; Wed, 24 Sep 2014 09:44:42 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id rp18so9296177iec.0 for ; Wed, 24 Sep 2014 02:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IrbONkDrOLM0UrsqyR8T5xPVYhtF9arbfgz0aBkGs+g=; b=BoBu4Tbg8lw2xY/c2j3X+yKpG3nWpuZLkKSQGdUQIAgZugk+s2ftZCZb/KqUHy2GD9 +3EzEFK31S+126cRM8cJcfmmRqmPxDGOLUR1Y8uMF3uUcrbT8POP6t9B5HfCj3hklmL1 IdCze4XdnP7RNpZmuqAlgL1mAMm6F56Aic9A30mS7PJpqEr0ySEztGHhn/oPlKMAQcRV Lkut9NN+m/+yVaJApmSCU5Dc36OU+Ew9atE8/R8qfA0dI5lukx0o459bwzx7az2VV6ZP KBw2qRw5p0O541W69BHD7dTMhNrDupaDpylKdgtrJ0LsIMVn6MZMgvpY3cvjSdGkdIxW KkFw== MIME-Version: 1.0 X-Received: by 10.42.212.146 with SMTP id gs18mr2068512icb.96.1411551882317; Wed, 24 Sep 2014 02:44:42 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.165.73 with HTTP; Wed, 24 Sep 2014 02:44:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Sep 2014 05:44:42 -0400 X-Google-Sender-Auth: mKgFsCMxF2JM3kaS1HToVAz5VPM Message-ID: Subject: Re: pkg must be version 1.3.8 or greater From: Rick Miller To: Ruben Schade Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions 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 09:44:43 -0000 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. -- Take care Rick Miller