Solved pkg install not working

Hello

pkg install <package> does not seem to work for me.

I am running 10.0-RELEASE-p7 and pkg 1.3.7.

Code:
[root@FreeBSD /usr/ports]# pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.

But when I try to install a package the following happens:

Code:
[root@FreeBSD /usr/ports]# pkg install irssi
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
pkg: No packages available to install matching 'irssi' have been found in the repositories

Repository configuration looks like this (didn't touch it)

Code:
[root@FreeBSD /usr/ports]# cat /etc/pkg/FreeBSD.conf 
# $FreeBSD: release/10.0.0/etc/pkg/FreeBSD.conf 258710 2013-11-28 14:24:26Z gjb $
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

Any help would be appreciated.
 
Re: pkg install not working

When you upgraded to pkg 1.3.7, did you follow all the instructions for re-generating the databases and whatnot?

Specifically, have you run the following:
Code:
# pkg update -f
# pkg check -Ba

Also, what do you get if you do searches? Are you sure there's a pre-built package for it?
Code:
# pkg search irssi
# pkg search rss
 
Re: pkg install not working

I did not upgrade anything, this is a fresh install from 1 hour ago.

pkg update -f did the trick pkg updatewas not enough. Thank you!
 
Back
Top