From owner-freebsd-pkg@freebsd.org Wed Mar 15 20:36:10 2017 Return-Path: Delivered-To: freebsd-pkg@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 81057D0D13C for ; Wed, 15 Mar 2017 20:36:10 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6B76B5FB for ; Wed, 15 Mar 2017 20:36:10 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: by mailman.ysv.freebsd.org (Postfix) id 68055D0D13B; Wed, 15 Mar 2017 20:36:10 +0000 (UTC) Delivered-To: pkg@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 65FD2D0D13A for ; Wed, 15 Mar 2017 20:36:10 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mail.michaelwlucas.com (mail.michaelwlucas.com [104.236.197.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 132935FA for ; Wed, 15 Mar 2017 20:36:08 +0000 (UTC) (envelope-from mwlucas@mail.michaelwlucas.com) Received: from mail.michaelwlucas.com (localhost [127.0.0.1]) by mail.michaelwlucas.com (8.15.2/8.15.2) with ESMTP id v2FKa16a073531 for ; Wed, 15 Mar 2017 16:36:01 -0400 (EDT) (envelope-from mwlucas@mail.michaelwlucas.com) Received: (from mwlucas@localhost) by mail.michaelwlucas.com (8.15.2/8.15.2/Submit) id v2FKa12Y073530 for pkg@freebsd.org; Wed, 15 Mar 2017 16:36:01 -0400 (EDT) (envelope-from mwlucas) Date: Wed, 15 Mar 2017 16:36:01 -0400 From: "Michael W. Lucas" To: pkg@freebsd.org Subject: disabling repo problem Message-ID: <20170315203601.GA73501@mail.michaelwlucas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.2 (2016-11-26) X-Spam-Status: No, score=2.5 required=5.0 tests=TO_NO_BRKTS_PCNT, UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.michaelwlucas.com X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.1 (mail.michaelwlucas.com [127.0.0.1]); Wed, 15 Mar 2017 16:36:02 -0400 (EDT) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 20:36:10 -0000 Hi, Running pkg 1.10.0 on the March -current snapshot: FreeBSD storm 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r314495: Wed Mar 1 18:14:24 UTC 2017 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 I'm attempting to disable the default repo without editing /etc/pkg/FreeBSD.conf. pkg.conf contains: grep -v ^# pkg.conf DEFAULT_ALWAYS_YES = true; REPOS_DIR [ "/etc/pkg/", "/usr/local/etc/pkg/repos/", ] (and the long list of aliases at the end) So let's make an override file: # cat /usr/local/pkg/repos/FreeBSD.conf FreeBSD: { enabled: NO } (Cut and paste from pkg.conf.) So, the default repo should be gone, right? # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (2 candidates): 100% Processing candidates (2 candidates): 100% The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: ca_root_nss: 3.29.1 -> 3.29.3 Number of packages to be upgraded: 1 334 KiB to be downloaded. Proceed with this action? [Y/n]: ^C Did I do something wrong? Does the old package on this box prevent me from disabling the repo? Or do most people just edit /etc/pkg/FreeBSD.conf and this is a bug? Thanks, ==ml -- Michael W. Lucas Twitter @mwlauthor nonfiction: https://www.michaelwlucas.com/ fiction: https://www.michaelwarrenlucas.com/ blog: http://blather.michaelwlucas.com/