From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 00:55:47 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D4F4E1A; Tue, 27 Jan 2015 00:55:47 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68CB6C77; Tue, 27 Jan 2015 00:55:46 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6183428423; Tue, 27 Jan 2015 01:55:43 +0100 (CET) Received: from illbsd.quip.test (ip-89-177-50-74.net.upcbroadband.cz [89.177.50.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8A9CD28429; Tue, 27 Jan 2015 01:55:41 +0100 (CET) Message-ID: <54C6E20D.4040703@quip.cz> Date: Tue, 27 Jan 2015 01:55:41 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: pkg delete portaudit is trying to remove sysinfo References: <54C6D314.5000106@quip.cz> <20150126235352.GV81001@ivaldir.etoilebsd.net> In-Reply-To: <20150126235352.GV81001@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 00:55:47 -0000 Baptiste Daroussin wrote on 01/27/2015 00:53: > On Tue, Jan 27, 2015 at 12:51:48AM +0100, Miroslav Lachman wrote: >> I am converting all our servers to pkg2ng and on one old system I have >> the following problem. >> After conversion (pkg2ng) I need to remove deprecated portaudit. It went >> fine on 10 servers before, but on this one (inside jail) the "pkg >> delete" tried to remove sysinfo package too. >> >> >> # pkg delete portaudit-0.5.17 >> Checking integrity... done (0 conflicting) >> Deinstallation has been requested for the following 2 packages (of 0 >> packages in the universe): >> >> Installed packages to be REMOVED: >> portaudit-0.5.17 >> sysinfo-1.0.1 >> >> The operation will free 54 KiB. >> >> Proceed with deinstalling packages? [y/N]: n >> >> >> Can anobody tell me, why it is trying to remove sysinfo? Sysinfo has >> nothing to do with portaudit. >> > > sysinfo was depending on portaudit until version 1.0.1_2 and you have 1.0.1 > which depends on portaudit. OK, it make sense now. Thank you! So I let it be removed and now trying to install newer version: # pkg install sysinfo No active remote repositories configured. I guess this is problem with some missing files in this jail, because pkg works in host system which was converted to pkg in the same way. Can you point me to the right direction what files should be present in the jail to make the pkg work? For example, jail and host both have only pkg.conf.sample in /usr/local/etc/ So should I look somewhere else? Miroslav Lachman