From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 20:45:13 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 B4765DC8; Tue, 27 Jan 2015 20:45:13 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 79811862; Tue, 27 Jan 2015 20:45:13 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id DD47133C1D; Tue, 27 Jan 2015 15:45:01 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 254083985D; Tue, 27 Jan 2015 15:45:00 -0500 (EST) From: Lowell Gilbert To: Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: pkg delete portaudit is trying to remove sysinfo References: <54C6D314.5000106@quip.cz> <20150126235352.GV81001@ivaldir.etoilebsd.net> <54C6E20D.4040703@quip.cz> <54C775DB.30104@quip.cz> Date: Tue, 27 Jan 2015 15:45:00 -0500 In-Reply-To: <54C775DB.30104@quip.cz> (Miroslav Lachman's message of "Tue, 27 Jan 2015 12:26:19 +0100") Message-ID: <44h9vcvtpv.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: Kevin Oberman , Baptiste Daroussin , FreeBSD Ports ML 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 20:45:13 -0000 Miroslav Lachman <000.fbsd@quip.cz> writes: > Kevin Oberman wrote on 01/27/2015 02:20: >> On Mon, Jan 26, 2015 at 4:55 PM, Miroslav Lachman <000.fbsd@quip.cz >> > wrote: >> >> 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 > > [...] > >> >> 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 >> >> >> This may not be the complete issue, but: >> # pkg update >> # pkg install sysutils/sysinfo > > I tried this before my previous post, but it failed with the same error: > > # pkg update > No active remote repositories configured. > > So I think there should be some default file missing in this jail. That would either be Freebsd.conf or the conf defining your custom pkg server (if you've defined one). But you might want to update the packages in the jail from outside the jail. This would make it easier to avoid downloading the packages multiple times, and would leave fewer privileged activities that have to be done inside the jail.