Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 20:36:40 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Luciano Mannucci <luciano@vespaperitivo.it>, freebsd-ports@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing ports via pkg on 11
Message-ID:  <57E57638.8020409@quip.cz>
In-Reply-To: <3sgc736h5nzRRqk@baobab.bilink.it>
References:  <3sgc736h5nzRRqk@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <anithing> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57E57638.8020409>