From owner-freebsd-ports Mon Nov 5 23: 0:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4359C37B418 for ; Mon, 5 Nov 2001 23:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA6701C01487; Mon, 5 Nov 2001 23:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 15A4637B419 for ; Mon, 5 Nov 2001 22:56:03 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA66u3M01109; Mon, 5 Nov 2001 22:56:03 -0800 (PST) (envelope-from nobody) Message-Id: <200111060656.fA66u3M01109@freefall.freebsd.org> Date: Mon, 5 Nov 2001 22:56:03 -0800 (PST) From: Darren R Johnston To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/31792: pkg_version pkg list output bug Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31792 >Category: ports >Synopsis: pkg_version pkg list output bug >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 05 23:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Darren R Johnston >Release: FreeBSD 4.4 >Organization: n/a >Environment: FreeBSD 24.65.146.6 4.4-STABLE FreeBSD 4.4-STABLE #1: Mon Nov 5 05:25:02 MST 2001 root@24.65.146.6:/usr/obj/usr/src/sys/DARREN i386 >Description: on my system I use "pkg_version -v|more" to keep up to date. the bug is that since I didn't pkg_delete some installed ports and just overwrote them, pkg_version still lists them as installed. here is an example: ORBit-0.5.10_1 < needs updating (port has 0.5.10_5) ORBit-0.5.10_5 = up-to-date with port autoconf-2.13_1 < needs updating (port has 2.13.000227) autoconf213-2.13.000227 = up-to-date with port bonobo-1.0.10 = up-to-date with port bonobo-1.0.8 < needs updating (port has 1.0.10) bonobo-1.0.9 < needs updating (port has 1.0.10) esound-0.2.22 < needs updating (port has 0.2.23) esound-0.2.23 = up-to-date with port >How-To-Repeat: install any port, update ports, don't pkg_delete the current port and install the newest version. the next time pkg_version -v|more is executed, it will say the older port needs updated and list the updated one underneath. >Fix: possibly we need to add a pkg_delete when installing ports from /usr/ports. a nice command to delete the presence of these ghosts without deinstalling the newer versions. possibly a clean up to check for older versions before running the install. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message