Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 22:56:03 -0800 (PST)
From:      Darren R Johnston <darren780@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31792: pkg_version pkg list output bug
Message-ID:  <200111060656.fA66u3M01109@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111060656.fA66u3M01109>