Subject: pkg/24336: pkg_install can't be bootstrapped
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/06/2004 21:25:51
>Number:         24336
>Category:       pkg
>Synopsis:       pkg_install can't be bootstrapped
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 06 21:34:00 UTC 2004
>Release:        NetBSD 1.6_STABLE
System: NetBSD enigma 1.6_STABLE NetBSD 1.6_STABLE (ENIGMA) #3: Mon Jan 12 17:01:56 GMT 2004 gavan@enigma:/usr/src/sys/arch/i386/compile/ENIGMA i386
	Running in a freshly created pkg_comp chroot.
Architecture: i386
Machine: i386

Using a system with installed pkg_* tools from a vintage before -K, it's no
longer possible to bootstrap pkg_install. Errors are thrown up straight away
about -K not being known.


# Set up pkg_comp with sets from a release before -K
pkg_comp makeroot; pkg_comp chroot

cd /usr/pkgsrc/pkgtools/pkg_install


No complete fix as yet.

Moving the PKG_INFO= line in pkgtools/pkg_install/Makefile to above the
inclusion of helps somewhat, but still throws up errors about
pkg_info -e requiring an argument.