Subject: pkg/13906: sysutils/sh-utils and devel/id-utils conflict
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 09/09/2001 12:32:04
>Number:         13906
>Category:       pkg
>Synopsis:       sysutils/sh-utils and devel/id-utils conflict over /usr/pkg/bin/gid
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 09 09:33:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     TheMan
>Release:        -current (20010831) pkgsrc (20010409)
>Organization:
none
>Environment:
	
System: NetBSD this 1.5X NetBSD 1.5X (THAT) #72: Fri Aug 31 18:15:16 EDT 2001     root@:/usr/src/sys/arch/i386/compile/THAT i386
sh-utils-2.0        GNU shell utilities
id-utils-3.2        The classic Berkeley gid/lid tools for looking up variables in code

>Description:

	id-utils installs a womderful program called gid that is
terribly useful.  sh-utils installs the gnu version of id (which is
worthless to me) as gid in the same place.

>How-To-Repeat:

	cd /usr/pkgsrc/devel/id-utils; make install && make clean
	cd /usr/pkgsrc/sysutils/sh-utils; make install && make clean
	...
	===> Registering installation for sh-utils-2.0
	pkg_create: Overwriting /usr/pkg/bin/gid - pkg id-utils-3.2 bogus/conflicting?

>Fix:

	either of:

	(1) don't install the gnu id program at all

	(2) install gnu programs (like findutils, inetutils,
	sharutils, diffutils, fontutils, plotutils, termutils,
	fileutils, sh-utils, textutils, etc) under something like
	/usr/pkg/gnu instead (binutils is already under /usr/pkg/cross
	and id-utils doesn't conflict with anything in the base system)

maybe there's a way to do (2) already, but i didn't see it quickly.
>Release-Note:
>Audit-Trail:
>Unformatted: