From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 01:20:29 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 181447CE; Tue, 27 Jan 2015 01:20:29 +0000 (UTC) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8DAC92; Tue, 27 Jan 2015 01:20:28 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id eu11so14988563pac.13; Mon, 26 Jan 2015 17:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=KzvpRYsHokt76dvGmsz4XkPm41A+nmVM7HWEVv2Vl44=; b=sVBU7GAnsFGnMKCAkeoMb/BVMhUbzcH6SV6728EsSG2PkARdnwqoIUtb4E+cBXg5bw YHTYajvOIXC6rOxhGuRcAncnhiucWWOPghNz58mRvGinDteQWXy2KSlIDNMOWSNM/awV CcISF9yVCxAcyMc9eC7vtQhcJqOmIE1A+wX6GqVYxCbuWGlXq0YQGj9GSlva10R4JD/N c4S6mnSiwYT0LaeHy76JjZ6wNa/EcK+kfB5WBtpbIubc1kTeN1APdLIQ1bjMYJKOV/T6 wpZvet0FDTxNHDBAO4ayoYSoqB0xuyEJjWaekkb4oCnOmApoxr6DOIF7EF0dVQz1X0tt Fz2A== MIME-Version: 1.0 X-Received: by 10.68.197.10 with SMTP id iq10mr22629523pbc.143.1422321628417; Mon, 26 Jan 2015 17:20:28 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.66.253.37 with HTTP; Mon, 26 Jan 2015 17:20:28 -0800 (PST) In-Reply-To: <54C6E20D.4040703@quip.cz> References: <54C6D314.5000106@quip.cz> <20150126235352.GV81001@ivaldir.etoilebsd.net> <54C6E20D.4040703@quip.cz> Date: Mon, 26 Jan 2015 17:20:28 -0800 X-Google-Sender-Auth: _li0NOI2MLd2ynUlzI9GcElShSs Message-ID: Subject: Re: pkg delete portaudit is trying to remove sysinfo From: Kevin Oberman To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: 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 01:20:29 -0000 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 >>> 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 > This may not be the complete issue, but: # pkg update # pkg install sysutils/sysinfo -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com