Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 1995 15:00:58 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        questions@FreeBSD.org
Subject:   pkg_add fails: Error status 1 from mtree
Message-ID:  <95May14.150108pdt.49859@crevenia.parc.xerox.com>

next in thread | raw e-mail | index | archive | help
Two things about pkg_add:

1) I can't get it to run at all on my machine.  I am running SNAP-950412 with
a custom kernel and not much else.

# pkg_add -v maplay-1.2.tgz
Projected package size: 89640 bytes, free temp space: 91331584 bytes
extract: Package name is maplay-1.2
extract: CWD to /usr/local
extract: /usr/local/bin/maplay
extract: CWD to .
Running mtree for maplay-1.2..
mtree -u -f +MTREE_DIRS -d -e -p /usr/local
usage: mtree [-cdeinrUux] [-f spec] [-K key] [-k key] [-p path] [-s seed]
Error status 1 from mtree.
(CWD to /usr/local)
Delete: /usr/local/bin/maplay
(CWD to .)
1 package addition(s) failed.

2) If I run pkg_add without -v, the error message doesn't make it clear
that it actually removed the package:

# pkg_add maplay-1.2.tgz
usage: mtree [-cdeinrUux] [-f spec] [-K key] [-k key] [-p path] [-s seed]
Error status 1 from mtree.

And about pkg_maint: it doesn't handle this kind of error from pkg_add
very well...

I'm sure this is all caused by something odd on my system; I can't imagine
what, though.

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95May14.150108pdt.49859>