From owner-freebsd-stable@FreeBSD.ORG Sat Oct 25 01:59:06 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B0DCD48 for ; Sat, 25 Oct 2014 01:59:06 +0000 (UTC) Received: from mail15.tpgi.com.au (smtp-out15.tpgi.com.au [220.244.226.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.tpg.com.au", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDCF2C85 for ; Sat, 25 Oct 2014 01:59:04 +0000 (UTC) X-TPG-Junk-Status: Message not scanned X-TPG-Antivirus: Passed X-TPG-Abuse: host=[202.161.115.54]; ip=202.161.115.54; date=Sat, 25 Oct 2014 12:42:02 +1100 Received: from fish.ish.com.au (202-161-115-54.static.tpgi.com.au [202.161.115.54] (may be forged)) by mail15.tpgi.com.au (envelope-from ari@ish.com.au) (8.14.3/8.14.3) with ESMTP id s9P1g0qx018029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 25 Oct 2014 12:42:02 +1100 Received: from ip-211.ish.com.au ([203.29.62.211]:55169 helo=ish.com.au) by fish.ish.com.au with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XhC6u-0002iy-2Q for freebsd-stable@freebsd.org; Thu, 23 Oct 2014 17:43:01 +1100 Received: from [203.29.62.136] (HELO ip-136.ish.com.au) by ish.com.au (CommuniGate Pro SMTP 6.0.9) with ESMTPS id 17775516 for freebsd-stable@freebsd.org; Thu, 23 Oct 2014 17:43:00 +1100 Message-ID: <5448A373.1070707@ish.com.au> Date: Thu, 23 Oct 2014 17:42:59 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Thunderbird/33.0 MIME-Version: 1.0 To: freebsd-stable Subject: pkgng upgrade -> force upgrade of dependencies Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 01:59:06 -0000 I've scoured the documentation, but I cannot for the life of me figure how to do this. Let's say I want to upgrade a package "apache22" without upgrading everything on the system. Now I want to ensure I get enough of the dependencies into the upgrade that apache will actually work. So I try this: # pkg upgrade apache22-worker-mpm Installed packages to be UPGRADED: apache22-worker-mpm: 2.2.27_6 -> 2.2.29_2 Hmmm, that doesn't seem right. # pkg upgrade | grep openssl openssl: 1.0.1_15 -> 1.0.1_16 # pkg info -d apache22-worker-mpm apache22-worker-mpm-2.2.27_6: expat-2.1.0_1 openssl-1.0.1_15 perl5-5.16.3_11 pcre-8.34_2 apr-1.5.1.1.5.3_4 libiconv-1.14_3 So, a new version of openssl is needed and is linked to the new binary. But it will not be installed when I upgrade apache. Before I moved to pkgng/poudriere I used to use portmaster. That would more thoroughly examine the dependencies and make sure everything that was inter-related (both as parent and child dependencies) was upgraded together. But it did not force me to upgrade Java when I just wanted to get the new version of bash installed. Am I missing something? # pkg -v 1.3.8 Thanks Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A