Subject: bin/11648: pkg_add does not know how to add png>=1.0.6 style dependencies
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/06/2000 07:48:34
>Number:         11648
>Category:       bin
>Synopsis:       Pkg_add ImageMagic-5.2.2.tgz fails, even when png-1.0.8.tgz is present
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 06 07:48:01 PST 2000
>Originator:     Tero Kivinen
>Release:        NetBSD 1.5
SSH Communications Security
System: NetBSD 1.5 NetBSD 1.5 (KAHVA) #1
Architecture: i386
Machine: i386

	I created two cd-roms containing all packages with batch
	build. When I try to install the packages using pkg_add * most
	of them fail in the first time because they dont find the
	required packages. The reason they don't find the required
	packages is that the dependencies contains wildcards, or
	version requirements, and pkg_add does not seem to know how to
	expand those dependencies to the actual file names. 


	Create ImageMagick-5.2.2.tgz, png-1.0.8.tgz, jpeg-6b.tgz,
	mpeg2codec-1.2.tgz, tiff-3.5.5.tgz files and put them in one
	directory. Remove all of those packages. Run pkg_add * on the
	directory. That will fail that it cannot install ImageMagick
	because of missing dependencies. Running it second time will
	install ImageMagick as now the tiff-* and png>=1.0.6 are
	already installed and pkg_add notices that. 


	Easiest way to fix it, is just running the pkg_add * multiple
	times. Each time it will add more and more packages and
	finally all packages are installed.