From owner-freebsd-ports@freebsd.org Fri Sep 23 18:36:51 2016 Return-Path: Delivered-To: freebsd-ports@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 C5353BE7113; Fri, 23 Sep 2016 18:36:51 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A6CED47; Fri, 23 Sep 2016 18:36:51 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 339ED2848B; Fri, 23 Sep 2016 20:36:42 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E43D328423; Fri, 23 Sep 2016 20:36:40 +0200 (CEST) Subject: Re: Installing ports via pkg on 11 To: Luciano Mannucci , freebsd-ports@freebsd.org Cc: freebsd-questions@freebsd.org References: <3sgc736h5nzRRqk@baobab.bilink.it> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <57E57638.8020409@quip.cz> Date: Fri, 23 Sep 2016 20:36:40 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <3sgc736h5nzRRqk@baobab.bilink.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 18:36:51 -0000 Luciano Mannucci wrote on 09/23/2016 17:03: > > Excuse my newbeeness... > > I'm not able to install ports via pkg install on 11-RC3. This might be > due to the version not beeing "release" (yet) I guess... :) > if I issue a pkg install I get > > Updating FreeBSD repository catalogue... > pkg: http://pkg.FreeBSD.org/FreeBSD:11:powerpc64/quarterly/meta.txz: Not Found > repository FreeBSD has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:11:powerpc64/quarterly/packagesite.txz: Not Found > Unable to update repository FreeBSD > All repositories are up-to-date. > pkg: Repository FreeBSD cannot be opened. 'pkg update' required > > the same if I issue "pkg update". > > Is there a way to build all the ports and make them available to pkg? > Would such a thing make sense? It is better to use poudriere (installed from ports) where you can create the list of ports you want to build (why would you want to build everything?), then you run poudrier bulk and on target system disable official FreeBSD repository and add yours. https://www.digitalocean.com/community/tutorials/how-to-set-up-a-poudriere-build-system-to-create-packages-for-your-freebsd-servers https://github.com/freebsd/poudriere I am using poudriere for a long time to build all packages needed on our servers. It is very helpful tool. Miroslav Lachman