From owner-freebsd-questions@FreeBSD.ORG Fri Jan 17 04:04:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 139EB91F for ; Fri, 17 Jan 2014 04:04:41 +0000 (UTC) Received: from kaywinnit.conundrum.com (smtp.conundrum.com [IPv6:2001:4900:1:213::2:20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E39BC1999 for ; Fri, 17 Jan 2014 04:04:40 +0000 (UTC) Received: from chani.conundrum.com ([216.235.10.34]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1W40fe-000CT8-LV; Fri, 17 Jan 2014 04:04:38 +0000 From: Matthew Pounsett Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Jan 2014 23:04:30 -0500 Subject: pkg install: what is the "first" repository? To: "freebsd-questions@freebsd.org Mailing List" Message-Id: <48811877-E688-4E0F-AF26-57C1C0135314@conundrum.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 04:04:41 -0000 =46rom the pkg man page: install Install a package from a remote package repository. If a = package is found in more than one remote repository, then = installation happens from the first one. Downloading a package is tried = from each package repository in turn, until the package is = success- fully fetched. What is pkg's definition of "first"? =20 I have a single file in /usr/local/etc/pkg/repos/ which lists two local = repositories. 'vim' exists in the first one in that file. All of vim's = dependencies are available from that repo. Some of its dependencies = exist in both, since they're required by things available from both = repositories. For the dependencies that exist in both, pkg is trying to grab them from = the second repository in that file. I'm trying to figure out why, so I = can make it stop. Thanks.