From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 05:38:39 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 3C7F2996 for ; Thu, 25 Sep 2014 05:38:39 +0000 (UTC) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) (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 A501422F for ; Thu, 25 Sep 2014 05:38:37 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id s18so12044850lam.28 for ; Wed, 24 Sep 2014 22:38:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=zPyp5IQiwWpV2q13uTXe5M1GSewN67d9Vsmg9vDvGS0=; b=lU7tRktcSW+DCuCZhTDaYbjjivm2wck6skC2OVJZzgFfu/ZcaWqIVHRZDOxAR8tzzC y9CL0Id2bdg7NWsiC57+EeDp5/+wT2mnkhANDIZISbUAe2CysUqsyKobaNDzLpAZHc+t G4lHidzHyXTsBqYBaP8hfpKBKBihVjzwQlHPRCup9Ock4W/VyiTn9oiehvytnTv/5hrQ TaGWwUG/rQy12cYtRRZt3jl4o/ewi02SB7xrYAFc/wBsjxjmFpVSKo9v4npp12vE5i6G GNCWMmD6BobLm5fHUuL7J/KGUbuvSfe/xPfyBRtU/ehRXlDJGwfcpV1JYl+H0gpFxRIZ 9Qlw== X-Gm-Message-State: ALoCoQn/573Ay/9Mfx8C3zTS7lD53nhNKvyOMDvxf/bvVZljiFGiyjFWN7/K7+s5WSMjW3c6JCug MIME-Version: 1.0 X-Received: by 10.112.135.230 with SMTP id pv6mr380108lbb.105.1411623509392; Wed, 24 Sep 2014 22:38:29 -0700 (PDT) Received: by 10.25.20.159 with HTTP; Wed, 24 Sep 2014 22:38:29 -0700 (PDT) X-Originating-IP: [76.252.236.89] In-Reply-To: References: <4AA66D80-755C-434E-AB0D-39EE0A3A12B9@shaw.ca> Date: Wed, 24 Sep 2014 22:38:29 -0700 Message-ID: Subject: Re: pkg must be version 1.3.8 or greater From: "Brian W." To: Ruben Schade Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing List 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:38:39 -0000 FreeBSD doesnt build packages immediately when port updates happen. That is reality we have to live with I believe. I wonder of today's bash issue will modify that. At any rate, sInce I went to freebsd 10 I have been doing this. portsnap fetch update && pkg upgrade && pkg version -vIL= These 3 commands get me the latest ports tree, all available pkg updates, and then I am told if there are any updates pending. At that point I can either portupgrade pkgname or just wait. Brian On Wed, Sep 24, 2014 at 10:03 PM, Ruben Schade wrote: > 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 < >>> newsgroups@rubenschade.com> >>> 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/ > > _______________________________________________ > 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" >