From owner-freebsd-pkg@freebsd.org Sat Jul 18 18:01:54 2015 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C07E59A55DF for ; Sat, 18 Jul 2015 18:01:54 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A5C3E1B06 for ; Sat, 18 Jul 2015 18:01:54 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id A2D039A55DE; Sat, 18 Jul 2015 18:01:54 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A16D39A55DD for ; Sat, 18 Jul 2015 18:01:54 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 730371B04 for ; Sat, 18 Jul 2015 18:01:54 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by igcqs7 with SMTP id qs7so57618289igc.0 for ; Sat, 18 Jul 2015 11:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=E/oEv9/nhn0Nc03OoY39QRkNT91tzM74v3T1Mz5KbGs=; b=Wwd8B3oz0aTQOvwHpBv3eH/OavuS42jXoLWjKJUqe2S+5c2QYc1lTpfF+lzxDGGDlP q4i1oH+A/qDVWJ2g9eWp/WMMzljYfjZx/gfELp1NU5tWuj8jmsH8FMtOVMb9LNVc3gtN ASvNWxb53b4Sm2iXbRqYZYjQaBRbX68adaZmUY3hKSb2pnYjGxprl7RWwM/OOFtOep0t Uykpoeqz+eRXhhbNzAKNluz+h0iFzt4GuqtFH85SY3Ym3UjTYcVQm8T1B5oI5lp/fjlh W29EZSjqgEWCcuRK1ACdICPjeKtpD16eSFor+h02CgcGwJ4BQfkBFU/EqO4gnq+oRhov iZMw== X-Received: by 10.107.15.18 with SMTP id x18mr29056836ioi.167.1437242513777; Sat, 18 Jul 2015 11:01:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.240.146 with HTTP; Sat, 18 Jul 2015 11:01:14 -0700 (PDT) From: Miguel C Date: Sat, 18 Jul 2015 19:01:14 +0100 Message-ID: Subject: pkg upgrade "upgrade only; do not reinstall" To: pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 18:01:54 -0000 First of all pkgng is awesome :) But there's one thing I've been having "issues" with and after looking in the man page I didn't found a solution for this, but maybe I'm just missing something. when "pkg upgrade" is run, is there any flag I can use for it to look for "upgrade" candidates only and not reinstall? I have so ports installed with different options, and when running pkg upgrade this ones always show up, and If I want to full upgrade I have to go for it... I could probably script it to parse the "upgradable pkgs only" and then run pkg install for each... but maybe there's an easier way? Melhores Cumprimentos // Best Regards ----------------------------------------------- Miguel Clara IT - Sys Admin & Developer