From owner-freebsd-questions@FreeBSD.ORG Sun May 27 23:48:40 2012 Return-Path: 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 03A041065674 for ; Sun, 27 May 2012 23:48:40 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C80168FC17 for ; Sun, 27 May 2012 23:48:39 +0000 (UTC) Received: by dadv36 with SMTP id v36so3475832dad.13 for ; Sun, 27 May 2012 16:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=u4Qlxp2IYCJYGrK7WEwHcbkq55H6RcIPePSUmlnGJik=; b=UX0gkiSiNqysz4sNXxouT5SFvLbzxXOQGj5Swf5X3jwUIIijTAl8vz+ESI1pTpg/Zp 64YtlkBSTJAGgafTwyzRCf4aTQO4Ee4r0r6RkqxstSWRc60ZYh0B7DbqD7zjhmAlgX4e 3ELnBCDhFFi9vWRzyuqSr3MY1UnElFNWr46xx3jSK6jnIUg8ACs+5iYqjUOZqJPMYUPX +38sEtwCzFqDOKbIlv5X2zPyU9+qdSRvXbLnnK7GdegGnzQh9sDyBl8rJoqfBCZ1ay15 2MRGS6a8g/Rl5gFfpfsnDG+09Jl4CxagDHkCb8n+vMhoqYqEZx1iAxUr4lepSuq5BPnu 2Xeg== MIME-Version: 1.0 Received: by 10.68.217.100 with SMTP id ox4mr20618600pbc.87.1338162518576; Sun, 27 May 2012 16:48:38 -0700 (PDT) Received: by 10.143.162.4 with HTTP; Sun, 27 May 2012 16:48:38 -0700 (PDT) In-Reply-To: <4FBFAEFE.6040700@dreamchaser.org> References: <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> <20120525035108.a3af81c1.freebsd@edvax.de> <4FBF1EF2.5020400@dreamchaser.org> <4FBFAEFE.6040700@dreamchaser.org> Date: Sun, 27 May 2012 19:48:38 -0400 Message-ID: From: "illoai@gmail.com" To: freebsd@dreamchaser.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade ... doesn't 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: Sun, 27 May 2012 23:48:40 -0000 On 25 May 2012 12:10, Gary Aitken wrote: > Has to be something stupid: > > 347 /usr/ports#pkg_version -v | grep updating > p5-XML-Twig-3.39 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0< =A0 needs updat= ing (port has 3.40) > > 348 /usr/ports#portupgrade -Rv P5-XML-Twig > ---> =A0Session started at: Fri, 25 May 2012 10:03:54 -0600 > [Exclude up-to-date packages =A0done] > ** None has been installed or upgraded. > ---> =A0Session ended at: Fri, 25 May 2012 10:03:54 -0600 (consumed 00:00= :00) > > 350 /usr/ports#pkg_info | grep p5-XML-Twig > p5-XML-Twig-3.39 =A0 =A0Process huge XML documents by chunks via a tree > interface > > hints? Do pkg_version -vl"<" & pkg_version -vIl"<" give different results? (note that's an uppercase "i" followed by a lowercase "L" in case your screen font makes it hard to tell) I believe portupgrade uses the INDEX-* files to determine, whereas pkg_version uses the /usr/ports/*/*/distinfo file (unless -I is provided). --=20 --