From owner-freebsd-questions@FreeBSD.ORG Sun May 1 02:37:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44EDD16A4CE for ; Sun, 1 May 2005 02:37:09 +0000 (GMT) Received: from zhonka1.zhonka.net (zhonka1.zhonka.net [66.228.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC65243D3F for ; Sun, 1 May 2005 02:37:08 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from wolf.pjkh.com ([66.228.196.74]) by zhonka1.zhonka.net (Post.Office MTA v3.5.3 release 223 ID# 0-58414U4500L450S0V35) with ESMTP id net; Sat, 30 Apr 2005 19:37:08 -0700 Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 00E3B5825; Sat, 30 Apr 2005 19:37:00 -0700 (PDT) Received: from wolf.pjkh.com ([127.0.0.1]) by localhost (wolf.pjkh.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48256-07; Sat, 30 Apr 2005 19:36:59 -0700 (PDT) Received: by wolf.pjkh.com (Postfix, from userid 1000) id BC00D5824; Sat, 30 Apr 2005 19:36:59 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id B5E0157BA; Sat, 30 Apr 2005 19:36:59 -0700 (PDT) Date: Sat, 30 Apr 2005 19:36:59 -0700 (PDT) From: Philip Hallstrom To: Eric Schuele In-Reply-To: <4273F7D1.4030702@computer.org> Message-ID: <20050430193626.I53816@wolf.pjkh.com> References: <4273EFF5.8090504@computer.org> <20050430140440.I47465@wolf.pjkh.com> <4273F7D1.4030702@computer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at pjkh.com cc: FreeBSD Questions Subject: Re: Determining what a port will install... (more than pretty-print-*) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 02:37:09 -0000 > Philip Hallstrom wrote: >>> Is there a way to determine exactly what a particular port will install on >>> my machine? >>> >>> Doing a `make pretty-print-run-depends-list` will show me all of its >>> requirements... but I am interested in the difference between its >>> requirements and what I already have on my machine. If I have 7 out of >>> the 10 requirements.... I would like the remaining 3 listed for me. >>> >>> Is there something in place which provides this? >> >> >> The "portupgrade" port can do this. Something like... >> >> portupgrade -n -Rr someport >> >> The -n tells it not to do anything, just show you what it would do. >> >> The -r and -R tell it to upgrade any dependencies in both directions. >> >> At the end it will print out a little summary of what ports it needs to >> upgrade, what needs installed, and what you've already got. > This sounds like what I'm looking for... so I tried it. But its giving me > difficulties. > > I am using `portupgrade -nN -rR "x11-fm/rox-filer"` for example. I know I > have most, but not all, of what is needed by rox-filer. I was hoping to see > a concise list of things I am missing (and would therefore be installed). In > my example I used the `-N` switch because the man page sounded like that what > was needed when the port is not currently installed (which is my situation). > > But portupgrade reports > ---> Session started at: Sat, 30 Apr 2005 16:23:07 -0500 > Install 'x11-fm/rox-filer'? [no] > ---> Session ended at: Sat, 30 Apr 2005 16:23:07 -0500 (consumed 00:00:00) > > What am I doing wrong? That I can't help you with... maybe there's more options (verbose mode?) that would show it... I tend to only use portupgrade for upgrading already installed ports...