From owner-freebsd-questions@freebsd.org Sun Jul 31 09:39:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 104A7BA924C for ; Sun, 31 Jul 2016 09:39:00 +0000 (UTC) (envelope-from alnis.m@mail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C579B1AF0 for ; Sun, 31 Jul 2016 09:38:59 +0000 (UTC) (envelope-from alnis.m@mail.com) Received: from [192.168.0.192] ([78.84.255.253]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0MIMED-1bQljY2t15-004BSh for ; Sun, 31 Jul 2016 11:38:52 +0200 From: Alnis Morics Subject: pkg-add for installing into a jail? To: freebsd-questions@freebsd.org Message-ID: <1997dd6e-1abd-4d4f-e95b-0f4679543a16@mail.com> Date: Sun, 31 Jul 2016 12:38:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ANKy3bDz9iLlH5ef/sruJek+btp9r0e77swgSQTrj1nBhayfS1X 24MSJT3nnmafh25n8p8SV/R8jJwQdTlYczC+ofgVRg9DlGCwxXkLaHnQ/hDhjSgu73a+8oM 1K9SbaBl/7kXAxI1cp0TQ1csjNYMyoMrPflIu4Ru4BQWBxF0Jvjw21L7Z6+kKDmwzVptIgi lnLiFx6b7xhCrEW0Rmsvw== X-UI-Out-Filterresults: notjunk:1;V01:K0:0938JtoEfN8=:N3nBq2zI61AwqeXWZh/JoF Hl1sZI2vHm8/MFNsnINkmeRm0BNzyML3v6nkMaEJksBQI60kv1kR1AnOkxoEW2TxvMn3FLhJk /ZqG7ibA32hqKFxloYwdT8OAiolmBVxpsGNdurWLBUtULEEDPFbH6Q5uEzzjppMPrJqCR0r4Y sQLrUkYUBuwm1uxTTj8Q1Q+QlIAjvXYVGsdFl8mET+Znbw8qvFsIIFKCD+0hGlf5fHeBlH/yA YQIksvKFj6ZW2OLWbAcazO1kssq8diBDl9Yq/fbOgRzUDYfFSEsw24bEp4WYxHoZJZjC0CQEI dmuN+DbJcp0TYKLmtBbacRsUkvN8K0CrKS2R/O82ocLMFKVgplv2nXaZF8UNPpOEm/5OU2o/K rNNwQPo3mXANVcLVEcnOTR5CddeKsrftGWRqhugKtH7KnMfuzBlYu6MqaCk07RJdr2nH6b2JG RXQ9uFb5Q0lxqaCBi9P5zpeZOMYH8WMp88bQGcDWrIlh2HKUBb3146ubLgEYgkTUlLGIXE7Yo PkCyNI4SRSuADb0jG4Wc5U0IrWE4YrgqWoZwoqwuU4xpu8AT5LQfK6KNbE3T88jlKjUF89WoZ QGvLGe7jXAcrf44V8wYhWp9WHtwjzSRr9BXExIHZSYk0c6zojgdS4VWbwVb4yrHEEK6XvoQkf WEqr9EeKJJ7yCZKbbKNKquUAkN9VNio6dBIA/BrFUpe3CKFM+tkxOMTRxwnrvG7QykPdD4uJ2 Lzha3dFfzgm9bqgLtFggjPVnpdgH/eWCi3j8OuEh0TK/7XaNEoMe8IIxBKWD3wWs7O3RIrmoI ja5N27B X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2016 09:39:00 -0000 Hi, I could successfully use "pkg -j 1 " many times to install packages onto a jail. But now I had to change an option in a port, so I built a package myself: portmaster -g www/apache22 The package and its dependency was stored to /usr/ports/packages/All (as I set it in $PACKAGES): apache22-2.2.31_1.txz apr-1.5.2.1.5.4.txz I can now install these packages using pkg-add on the host, but not onto the jail: test:/usr/ports/packages/All# pkg -j 1 add apache22-2.2.31_1.txz apr-1.5.2.1.5.4.txz pkg: apache22-2.2.31_1.txz: No such file or directory pkg: Was 'pkg install apache22-2.2.31_1.txz' meant? pkg: apr-1.5.2.1.5.4.txz: No such file or directory pkg: Was 'pkg install apr-1.5.2.1.5.4.txz' meant? Failed to install the following 2 package(s): apache22-2.2.31_1.txz, apr-1.5.2.1.5.4.txz If there is "No such file or directory", where does pkg look for them? (I also tried to use full path; the result is the same) Or is pkg-add an exception which doesn't work with -j option? -Alnis