Subject: pkg/13536: pkg_add -u duplicates the pkg_info entry
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ryoh@jaist.ac.jp>
List: netbsd-bugs
Date: 07/23/2001 14:52:42
>Number:         13536
>Category:       pkg
>Synopsis:       pkg_add -u duplicates the pkg_info entry
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 22 22:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 1.5.1
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
	
System: NetBSD four 1.5.1 NetBSD 1.5.1 (GENERIC) #56: Mon Jul 2 15:54:23 CEST 2001 he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
$ pkg_add -V
20010307

>Description:
	After upgrading a package with pkg_add -u, the pkg_info entry of it is
	duplicated.
>How-To-Repeat:
	I want to upgrade installed mozilla-0.9.2 to mozilla-0.9.2nb1.

	$ pkg_info | egrep mozilla
	mozilla-0.9.2       The open-source version of the Netscape browser
	$ pkg_add -u mozilla-0.9.2nb1.tgz

	Then, check the installed package.

	$ pkg_info | egrep mozilla
	mozilla-0.9.2       The open-source version of the Netscape browser
	mozilla-0.9.2nb1    The open-source version of the Netscape browser

	Duplicated!
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: