From owner-freebsd-ports@freebsd.org Wed Feb 10 22:27:53 2016 Return-Path: Delivered-To: freebsd-ports@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 C505CAA41AF for ; Wed, 10 Feb 2016 22:27:53 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 93FFF89C; Wed, 10 Feb 2016 22:27:53 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id u1AMRqIS018860 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 10 Feb 2016 15:27:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id u1AMRqjs018857; Wed, 10 Feb 2016 15:27:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 10 Feb 2016 15:27:52 -0700 (MST) From: Warren Block To: Daniel Eischen cc: Dimitry Andric , freebsd-ports@freebsd.org Subject: Re: pkg 1.6.3 unable to upgrade, URL in pkg.conf problem? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 10 Feb 2016 15:27:52 -0700 (MST) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 22:27:53 -0000 On Wed, 10 Feb 2016, Daniel Eischen wrote: > On Wed, 10 Feb 2016, Dimitry Andric wrote: > >> On 10 Feb 2016, at 20:10, Daniel Eischen wrote: >>> >>> I'm trying to upgrade my ports with a set that I built using poudriere. >>> I'm running FreeBSD-current r295354, pkg 1.6.3. >>> >>> The packages are here on my local (localhost, vega) box: >>> >>> /usr/local/poudriere/data/packages/11amd64-default >>> >>> My repo pkg.conf (vega.conf) looks like this: >>> >>> vega: { >>> url: >>> "file://localhost/usr/local/poudriere/data/packages/11amd64-default", >> >> Try using file:/// (e.g three slashes). Yes, this is ugly, and Tim >> Berners-Lee has even apologized for it... :-) [1] > > Nope, that doesn't work either. Previously, I used: > > url: "file:/usr/local/poudriere/data/packages/11amd64-default > > and that worked until upgrading to a more recent -current and pkg > at the same time. fetch(1,3) do not work with that syntax any more > and pkg complains with "pkg: invalid url: file:/usr/local/..." Not with localhost, no. It's file:// and then the path, which begins with a slash, so file:///usr/local/poudriere/data/packages/11amd64-default