Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 1995 12:15:26 GMT
From:      Alan Judge <ajudge@maths.tcd.ie>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        nops@maths.tcd.ie
Subject:   bin/789: pkg_add broken in 2.1.0-951020?
Message-ID:  <199510231215.MAA03126@synge.maths.tcd.ie>
Resent-Message-ID: <199510231220.FAA04877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         789
>Category:       bin
>Synopsis:       pkg_add doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 23 05:20:00 PDT 1995
>Last-Modified:
>Originator:     Alan Judge
>Organization:
Department of Maths, Trinity College, Dublin, Ireland
>Release:        FreeBSD 2.1-STABLE i386
>Environment:

	P120 with 2.1.0-951020-SNAP installed.  
	Using some of the 2.1-packages.

>Description:

	pkg_add doesn't seem to work properly.  Two problems:
		- If the package is in the current directory,
		  pkg_add can't seem to find it unless you give a
		  full path.
		- Even given a full path, pkg_add just seems to go through
		  the motions (run's mtree, updates /var/db/pkg) but doesn't
		  actually install any of the package.
	Example output below.

>How-To-Repeat:

synge# cd /tmp
synge# pkg_add tcpblast-1.0.tgz
tar: can't open archive ./tcpblast-1.0.tgz : No such file or directory
tar: child returned status 3
tar: +CONTENTS not found in archive
Unable to open table of contents file `+CONTENTS' - not a package?

synge# pkg_add /tmp/tcpblast-1.0.tgz
synge# ls -ls /usr/local/bin
synge#

synge# pkg_info -Ia
tcpblast-1.0        This is the TCPBLAST program.
Segmentation fault (core dumped)

synge# pkg_delete tcpblast-1.0
File `/usr/local/bin/tcpblast' doesn't really exist.

>Fix:
	
	You can always install by hand..

	A quick look at info would indicate that the core is due to
	leave_playpen being called even though info doesn't have a playpen.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510231215.MAA03126>