From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 14:42:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C4C106566B for ; Fri, 1 Aug 2008 14:42:57 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from fhw-relay07.plus.net (fhw-relay07.plus.net [212.159.14.215]) by mx1.freebsd.org (Postfix) with ESMTP id 7F2358FC1C for ; Fri, 1 Aug 2008 14:42:57 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by fhw-relay07.plus.net with esmtp (Exim) id 1KOvqJ-0008VJ-G8 for freebsd-questions@freebsd.org; Fri, 01 Aug 2008 15:42:55 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1KOvqI-000HCn-Qm for freebsd-questions@freebsd.org; Fri, 01 Aug 2008 15:42:55 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Fri, 1 Aug 2008 15:42:54 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808011542.54713.jmc-freebsd@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 938545bc5f16331b392e3950d5556ed8 Subject: Some ports ignored by portversion 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: Fri, 01 Aug 2008 14:42:58 -0000 With pkg_version I get the following: curlew:/root# pkg_version -vL= diablo-jdk-1.5.0.07.01_10 < needs updating (port has 1.5.0.07.01_11) en-openoffice.org-GB-2.3.1 < needs updating (port has 2.4.1) firefox-2.0.0.14_1,1 < needs updating (port has 2.0.0.16,1) gnutls-2.4.1 < needs updating (port has 2.4.1_1) jdk-1.6.0.3p4 < needs updating (port has 1.6.0.3p4_3) k3b-1.0.4_2 < needs updating (port has 1.0.4_3) kdebase-3.5.8_2 < needs updating (port has 3.5.8_3) kdebase-kompmgr-3.5.8_1 < needs updating (port has 3.5.8_2) linux-sun-jdk-1.4.2.16 < needs updating (port has 1.4.2.18) ocaml-lablgl-1.02_1 < needs updating (port has 1.03) ocaml-lablgtk2-2.6.0_4 < needs updating (port has 2.10.1_1) p5-Error-0.17014 < needs updating (port has 0.17015) phpMyAdmin-2.11.5.2 < needs updating (port has 2.11.8.r1) speex-1.2.r1,1 < needs updating (port has 1.2.r1_1,1) unison-2.13.16_1 < needs updating (port has 2.27.57_1) wine-1.1.0,1 < needs updating (port has 1.1.2,1) ... which is what I would expect but portversion gives: curlew:/root# portversion -vL= gnutls < needs updating (port has 2.4.1_1) k3b < needs updating (port has 1.0.4_3) kdebase < needs updating (port has 3.5.8_3) kdebase-kompmgr < needs updating (port has 3.5.8_2) p5-Error < needs updating (port has 0.17015) speex < needs updating (port has 1.2.r1_1,1) The "missing" ports (*jdk*, openoffice.org, firefox-2, ocaml*, phpMyAdmin, unison and wine) are all marked as held in pkgtools.conf. Until today they would be shown by portversion as being in need of updating but held. I think portversion also used to show the version number of the currently installed port. The "missing" ports don't even show up in a full listing with portbersion -v. This change in behaviour might be a result of to me experimenting with portmaster as a possible replacement for portupgrade. In order to ensure that the held ports wouldn't get upgraded by portmaster I created +IGNOREME files in their /var/db/pkg directories. I imagine the ports database must have been affected as a result of this but I've tried deleting the +IGNOREME files, and even removing the holds from pkgtools.conf but that made no difference to portversion. I've tried pkgdb with -F and -u options but still no joy. It looks like it's not just portversion that's affected, pkgdb can't find the "missing" ports either: curlew:/root# pkgdb -o gnutls-2.4.1 security/gnutls security/gnutls curlew:/root# pkgdb -o unison-2.13.16_1 ? ? curlew:/root# How do I repair my ports? -- Mike Clarke