Date: Wed, 10 Feb 2016 15:27:52 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Daniel Eischen <deischen@freebsd.org> Cc: Dimitry Andric <dim@FreeBSD.org>, freebsd-ports@freebsd.org Subject: Re: pkg 1.6.3 unable to upgrade, URL in pkg.conf problem? Message-ID: <alpine.BSF.2.20.1602101526030.17951@wonkity.com> In-Reply-To: <Pine.GSO.4.64.1602101657420.22729@sea.ntplx.net> References: <Pine.GSO.4.64.1602101353240.22071@sea.ntplx.net> <AACBECC1-9E1A-4EB8-8D0A-8C94DFC99CCC@FreeBSD.org> <Pine.GSO.4.64.1602101657420.22729@sea.ntplx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <deischen@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1602101526030.17951>