pkg install on freshly installed 9.1 doesn't find any packages

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Aug 17 05:50:59 UTC 2013


On 17/08/2013 05:41, Yuri wrote:
> I installed 9.1 from iso image.
> Then 'pkg' command brought pkg-1.0.11 package.
> Now commands like 'pkg install gnome2' always say:
> pkg: Package 'gnome2' was not found in the repositories.
> 
> Am I missing something? This is vanilla 9.1 from DVD image. Nothing else.

You have an old version of pkg there, and it looks like the pkg.conf
that came with that version doesn't point at a repository with any
useful contents.

Try:

    pkg upgrade

which /should/ get you pkg-1.1.4_1

Then check ${LOCALBASE}/etc/pkg.conf and make sure packagesite is set to:

   http://pkg.freebsd.org/${ABI}/latest

or there are some other publicly availble repos: Exonetric has one, as
does PC-BSD.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

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


More information about the freebsd-questions mailing list