Subject: pkg/4338: packages installing info touch nonexistant file (/usr/share/info/dir)
To: None <>
From: None <cgd@NetBSD.ORG>
List: netbsd-bugs
Date: 10/24/1997 19:53:06
>Number:         4338
>Category:       pkg
>Synopsis:       packages installing info touch nonexistant file (/usr/share/info/dir)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 24 13:05:01 1997
>Originator:     Chris G. Demetriou
Kernel Hackers 'r' Us
>Release:        NetBSD-current as of right now.
System: NetBSD 1.3_ALPHA NetBSD 1.3_ALPHA (BRICK) #1: Wed Oct 22 23:26:01 PDT 1997 i386

	packages installing info files (at least gmake), if they're
	the first package to do so, try to touch /usr/share/info/dir.

	That file doesn't exist in NetBSD.

	rm /usr/pkg/info/dir, or go to a system where you've not installed
	any pacakges.

	Try to install gmake (gmake-3.75).

	Note that it barfs with:

	sed: /usr/share/info/dir: No such file or directory
	*** Error code 1

	Unknown.  The gmake package does this because its PLIST includes
	the line:

	@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir

	I'm not sure the right way to fix it, though.