From owner-freebsd-questions@freebsd.org Mon Dec 14 13:56:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAA14A43B0B for ; Mon, 14 Dec 2015 13:56:56 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id ACA531CB2 for ; Mon, 14 Dec 2015 13:56:56 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 8355ACB8CA3; Mon, 14 Dec 2015 07:29:38 -0600 (CST) Received: from 76.193.16.129 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 14 Dec 2015 07:29:38 -0600 (CST) Message-ID: <53929.76.193.16.129.1450099778.squirrel@cosmo.uchicago.edu> In-Reply-To: References: Date: Mon, 14 Dec 2015 07:29:38 -0600 (CST) Subject: Re: pkg search -x stopped working From: "Valeri Galtsev" To: "Sergei G" Cc: "FreeBSD Questions" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2015 13:56:56 -0000 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 ++++++++++++++++++++++++++++++++++++++++