From owner-freebsd-questions@FreeBSD.ORG Thu Mar 29 03:12:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA69916A401 for ; Thu, 29 Mar 2007 03:12:50 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 707AF13C4C6 for ; Thu, 29 Mar 2007 03:12:50 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so47998nfc for ; Wed, 28 Mar 2007 20:12:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=szvMcEzSGk7YKUV6O/K/0Kn00hTBUCGr5gVr8w6ph8/1ZwKtlp5xK0Dajyuy59KjaVQ914OI4llxYaGnhbm3quyzmKptDDw3862VB+rMyMtjPsXpVwctkEVFHYoXqMJZ7AC1IW7MiCm+ZY3DiMArOTT9k/fycbAlcr3DLp2NAwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tNCHJL4cws8VgKEMBS4dee81rnHqOfMWa8IzEWjCVu/jW2yrQlfy9EIIf1fmFjAx5yk5hazlI0Nhskr7TSPtJaRwx5c0u75voUggLqystkS3safgzflSbNetbygJcvxnYV/kjWTXL7bQXWJIWqM18+Xgg1g5C1B0aj2cW6ozt4Y= Received: by 10.82.136.4 with SMTP id j4mr404240bud.1175137968935; Wed, 28 Mar 2007 20:12:48 -0700 (PDT) Received: by 10.82.175.6 with HTTP; Wed, 28 Mar 2007 20:12:48 -0700 (PDT) Message-ID: Date: Wed, 28 Mar 2007 22:12:48 -0500 From: "illoai@gmail.com" To: "Joel Hatton" In-Reply-To: <200703290129.l2T1TIoN068066@app.auscert.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070329003400.GV11147@tigger.digitaltorque.ca> <200703290129.l2T1TIoN068066@app.auscert.org.au> Cc: "Michael P. Soulier" , freebsd-questions@freebsd.org Subject: Re: the art of pkgdb -F X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 03:12:50 -0000 On 28/03/07, Joel Hatton wrote: > Hi, > > On Wed, 28 Mar 2007 20:34:00 -0400, "Michael P. Soulier" wrote: > > > >Now, I've been upgrading ports via > > > >portupgrade -R > > > >as suggested in the handbook. As -R upgrades only those packages that require > >those supplied, and not those that it requires, would that cause it? > > Be careful with your syntax: '-R' isn't consistent between pkg_info and > portupgrade: Running 'pkg_info -R' will downward recurse, or show > dependencies of the port in question, but 'portupgrade -R' will upward > recurse and upgrade every port on which it depends - which often causes a > _lot_ of ports to be rebuilt and is, in fact, the opposite of your > description above. I've been caught by this before... In fact, as frequently the build looks for a binary, and portupgrade checks /var/db/pkg there can be some quite exciting results from a portupgrade -R if you have alternate dependancies. -- --