From owner-freebsd-stable@FreeBSD.ORG Thu Dec 27 10:35:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77980E93 for ; Thu, 27 Dec 2012 10:35:22 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by mx1.freebsd.org (Postfix) with ESMTP id F31A58FC12 for ; Thu, 27 Dec 2012 10:35:21 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id ik5so4221569bkc.10 for ; Thu, 27 Dec 2012 02:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=VQ9iFTpKHhLM+kJTtwsOMEGjD+UCxkooQrsQ84UfoaM=; b=Err8EBGVPBGdh6ZhCwbzJ/2wSOKRn7yZaRqsWXOWFeQ1acOLVzNFXusW5SuojN66n/ P+wiecRTiMC38Gysrvrgl6MiOX7gWbZjaWVAauPevdhP9pub5Dmm2n6diLGMTpWar6Fi qOGsUe9oAIbGqxTjcfsnNLaVOTQk97YaQMzY+kcHrTg+53HlpzxJz3bpSxAbYh8Avg6q hB4wa1ZBeoJbzw68Hu1jFJyMbHrkgtpO4CkqRU8Zs4gmSGMEReXiMCuuxdhOiKI8m08+ S6VuqJ/Hs1VBDAACnYm3LlzEgAOxVd1j6g4YdGedAMTN197DvwzvzlYGeZ5DXwk3UFKV 2I3A== X-Received: by 10.204.131.76 with SMTP id w12mr14244059bks.44.1356604515147; Thu, 27 Dec 2012 02:35:15 -0800 (PST) Received: from Melon.malikania.fr (110.89.123.78.rev.sfr.net. [78.123.89.110]) by mx.google.com with ESMTPS id i20sm20070563bkw.5.2012.12.27.02.35.13 (version=SSLv3 cipher=OTHER); Thu, 27 Dec 2012 02:35:14 -0800 (PST) Message-ID: <50DC245A.7020002@gmail.com> Date: Thu, 27 Dec 2012 11:35:06 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1 References: <20121227104451.6fc6bfed@suse3> <50DC1CC5.30402@FreeBSD.org> In-Reply-To: <50DC1CC5.30402@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 10:35:22 -0000 On 27/12/2012 11:02, Matthew Seaman wrote: > On 27/12/2012 09:44, Rainer Duffner wrote: >> as I see it, pkgng is actually included in 9.1 as /usr/sbin/pkg, right? > > /usr/sbin/pkg and /usr/local/sbin/pkg are very different. > > /usr/local/sbin/pkg is a binary package management system. > > /usr/sbin/pkg is a shim that can bootstrap the installation of > /usr/local/sbin/pkg if it is not already installed, or that invokes > /usr/local/sbin/pkg preserving the rest of the command line otherwise. > >> Is there a way to say "I have the pkg tool in base already"? > > pkgng is not in base and there are no plans to import it. If you are > going to use pkgng then you need to install it, either from ports or by > using the /usr/sbin/pkg shim to install from a pkgng package. > Why there is no plan to import it? >> Or is the pkg in base supposed to just install the pkgng from ports? > > Indirectly. /usr/sbin/pkg installs from a pre-compiled tarball, which > is generated from the ports-mgmt/pkg port. > > Cheers, > > Matthew > Cheers, David