From owner-freebsd-pkg@freebsd.org Tue Apr 5 03:54:22 2016 Return-Path: Delivered-To: freebsd-pkg@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 A5184ADE78E for ; Tue, 5 Apr 2016 03:54:22 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 959F11741 for ; Tue, 5 Apr 2016 03:54:22 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9191EADE78D; Tue, 5 Apr 2016 03:54:22 +0000 (UTC) Delivered-To: pkg@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 8EEE5ADE78C for ; Tue, 5 Apr 2016 03:54:22 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from valentine.liquidneon.com (valentine.liquidneon.com [216.87.78.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "valentine.liquidneon.com", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 702431740 for ; Tue, 5 Apr 2016 03:54:22 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: by valentine.liquidneon.com (Postfix, from userid 1018) id 1076D2793D; Tue, 5 Apr 2016 03:46:26 +0000 (UTC) Date: Tue, 5 Apr 2016 03:46:26 +0000 From: Brad Davis To: Zsolt Ero Cc: pkg@freebsd.org Subject: Re: FreeBSD Port: ports-mgmt/pkg Message-ID: <20160405034626.GA1875@corpmail.liquidneon.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 03:54:22 -0000 On Tue, Apr 05, 2016 at 02:20:49AM +0200, Zsolt Ero wrote: > Hi, > > There is quite a serious regression in pkg 1.7.1: pkg install fails > with error code 70 if any of the listed packages is already installed. Most tools like Puppet, Salt Stack, etc look at the output of `pkg list`. What tool are you using? I don't think this is a regression at all. pkg was not able to install something, thus it should exit with a proper error code. Regards, Brad Davis