Where is pkg repository for 9.2-RELEASE (amd64)?

Matthew Seaman matthew at FreeBSD.org
Wed Oct 2 22:06:48 UTC 2013


On 02/10/2013 21:07, Winston wrote:
> Summary:
> 
> Where is the (U.S.) pkg(ng) repository for amd64 9.2-RELEASE (i.e.,
> what's the right URI for PACKAGESITE in pkg.conf)?
> 
> 
> Things I tried that didn't work:
> 
> * pkg_add -r pkg  didn't create /usr/local/etc/pkg.conf
> 
> * pkg.conf.sample suggests "http://pkg.freebsd.org/${ABI}/latest",
>   but the host name pkg.freebsd.org does not DNS resolve for me.
> 
> * URLs using pkgbeta.FreeBSD.org didn't work, and
>   http://pkgbeta.FreeBSD.org/  itself says
>   "Currently this site only contains pkg bootstrap files!"

Yeah -- and the bootstrap pkg on pkgbeta is severely out of date and has
some problems with the up to date DB schema.

Use PACKAGESITE=http://pkg-test.freebsd.org/pkg-test-${ABI}/latest

That's the kit that will form the official FreeBSD package repository;
it just lacks the crypto bits for signing the packages, which is why
it's calling itself 'pkg-test'

Oh -- there isn't an A record in the DNS for pkg-test.freebsd.org --
look up a SRV record for _http._tcp.pkg-test.freebsd.org instead.

(Yes, this is counter to RFC 2616.
https://github.com/freebsd/pkg/issues/550  There are moves afoot to
change to a new set of URL schemes: pkg+http://, pkg+https://,
pkg+ssh:// etc. but these are still under development)

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 398 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20131002/7429fb3e/attachment.sig>


More information about the freebsd-questions mailing list