From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 14 17:30:16 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C282F16A407 for ; Thu, 14 Dec 2006 17:30:16 +0000 (UTC) (envelope-from blue@white.lv) Received: from purple.the-7.net (purple.the-7.net [64.71.156.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9383A43D73 for ; Thu, 14 Dec 2006 17:09:38 +0000 (GMT) (envelope-from blue@white.lv) Received: from seerajeane.astralblue.net (seerajeane.astralblue.net [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73]) by purple.the-7.net (8.13.8/8.13.8) with ESMTP id kBEH8vUT099803 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK); Thu, 14 Dec 2006 09:08:57 -0800 (PST) (envelope-from blue@white.lv) Received: from [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73] (seerajeane.astralblue.net [IPv6:2001:470:1f01:3222:2e0:81ff:fe51:1e73]) by seerajeane.astralblue.net (8.13.8/8.13.8) with ESMTP id kBEH9tje055645 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 14 Dec 2006 09:09:57 -0800 (PST) (envelope-from blue@white.lv) Message-ID: <45818563.9050508@white.lv> Date: Thu, 14 Dec 2006 09:09:55 -0800 From: "Eugene M. Kim" User-Agent: Thunderbird 1.5.0.8 (X11/20061202) MIME-Version: 1.0 To: Marek Denis References: <20061212164853.GA56552@core.1lo.lublin.pl> <20061212232850.GA58576@core.1lo.lublin.pl> In-Reply-To: <20061212232850.GA58576@core.1lo.lublin.pl> X-Spam-Status: No, score=-0.2 required=10.0 tests=AWL, HTML_MESSAGE, NO_RELAYS autolearn=disabled version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on purple.the-7.net X-Mailman-Approved-At: Thu, 14 Dec 2006 17:58:40 +0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: hackers@freebsd.org Subject: Re: portupgrade and dependencies X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 17:30:16 -0000 Unfortunately, the semantics of -r and -R options of pkg_info is the opposite of the semantics used by pkgtools (such as portupgrade/portinstall, pkg_glob and so on). Eugene Marek Denis wrote: > On Tue, Dec 12, 2006 at 05:55:40PM -0500, Dino Michailidis wrote: > >> portupgrade -r will also upgrade packages that depend on the port you are >> upgrading. It seems that this is not what you want. >> >> portupgrade -R will also upgrade packages required by the port you are >> upgrading - I believe this *is* what you want. >> >> > > Well, I don't get it. > When I type: > > pkg_info -R libiconv-1.9.2_1 > > it shows many of the packages (ettercap too) > so it is required by ettercap to work properly, yes? > And when I type > pkg_info -r ettercap > > it shows libiconv as a dependant, it mean a package which is required to > work ettercap properly, yes? > And that I have always thought -r option with portupgrade was all right > for me. >