Subject: pkg/12808: sh mk/bulk/build does not work if port2pkg is installed
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/03/2001 03:57:07
>Number:         12808
>Category:       pkg
>Synopsis:       mk/bulk/build does not work if port2pkg is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 02 15:02:01 PDT 2001
>Originator:     Tero Kivinen
>Release:        NetBSD-current 2001-05-02
SSH Communications Security
System: NetBSD 1.5V NetBSD 1.5V (HASTE) #0: Wed May 2 22:23:40 EEST 2001 i386
Architecture: i386
Machine: i386

	If I have everything installed and I try to start batch build
	it will fail, because the first thing it tries to do is to
	remove pkglint. This will fail if I have port2pkg installed:

	===> Deinstalling for pkglint-2.49
	Running PKG_DBDIR=/var/db/pkg /usr/sbin/pkg_delete pkglint-2.43
	pkg_delete: package `pkglint-2.43' is required by other packages:

	The next thing it does it tries to deinstall perl-mk-1.1 and
	that will fail also because of packages using it.

	Then it tries to install perl-mk-1.1 which will fail because
	of it is already installed causing perl-mk-1.1 marked as
	broken. This will cause rest of the build process to fail


	Install pkglint, port2pkg, perl-mk-1.1, perl-base-5.6.0nb1
	etc, and try to run mk/bulk/build after configuring system to
	do batch builds. Also make sure that you DO NOT have existing
	binary package of pkglint etc available, i.e mv packages
	packages.not-used in the /usr/pkgsrc directory. 


	Not known.