Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2015 07:29:38 -0600 (CST)
From:      "Valeri Galtsev" <galtsev@kicp.uchicago.edu>
To:        "Sergei G" <sergeig.public@gmail.com>
Cc:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: pkg search -x stopped working
Message-ID:  <53929.76.193.16.129.1450099778.squirrel@cosmo.uchicago.edu>
In-Reply-To: <CAFLLzCMmCQD65P49dmjO7zo2H8s8r_vLuRxGZij_bUae6AsaVg@mail.gmail.com>
References:  <CAFLLzCMmCQD65P49dmjO7zo2H8s8r_vLuRxGZij_bUae6AsaVg@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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
++++++++++++++++++++++++++++++++++++++++



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?53929.76.193.16.129.1450099778.squirrel>