pkg search -x stopped working

Valeri Galtsev galtsev at kicp.uchicago.edu
Mon Dec 14 13:56:56 UTC 2015


On Mon, December 14, 2015 6:45 am, Sergei G wrote:
> One of my jails stopped returning any search results for command:
>
>   pkg search -x any_name_like_vim_emacs
>
> I then run the same command from other jail and it lists available
> options.
>
> Is there a way to reset pkg repository of remotely available packages,
> without affecting actually installed packages?
>

First thing I would check that the file

/usr/local/etc/pkg/repos/FreeBSD.conf

exists and has something like


   FreeBSD: {
     url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
     mirror_type: "srv",
     signature_type: "fingerprints",
     fingerprints: "/usr/share/keys/pkg",
     enabled: yes
   }


in it.

Valeri

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++


More information about the freebsd-questions mailing list