pkg_create error help

Kris Kennaway kris at obsecurity.org
Sat May 24 15:17:31 PDT 2003


On Sat, May 24, 2003 at 09:39:03AM -0500, Jim Flowers wrote:
> I run a number of FreeBSD 4.X servers going back to 4.4.  When I download a 
> port that wasn't included in the release, it makes and make installs OK until 
> I get the error below.  Then I rm -r /var/db/pkg/portname to get rid of the 
> partial record (else it causes reporting problems) and the port works fine.
> 
> Is there anything I can do to get around this without updating the OS (these 
> are production servers)?  Looks like it is just a wrong parameter or a 
> missing set of quotes wherever pkg_create is called from 
> (/usr/ports/Mk/bsd.port.mk?).

It's likely to do with a command-line option to pkg_create that is not
present on FreeBSD 4.4.  You'd have to either try updating the
pkg_tools to newer code or hack bsd.port.mk to not use the newer option.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030524/c3d6742e/attachment.bin


More information about the freebsd-questions mailing list