Date: Wed, 10 Feb 2016 19:56:57 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> To: Warren Block <wblock@wonkity.com> 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: <Pine.GSO.4.64.1602101956330.23311@sea.ntplx.net> In-Reply-To: <alpine.BSF.2.20.1602101526030.17951@wonkity.com> 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> <alpine.BSF.2.20.1602101526030.17951@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Feb 2016, Warren Block wrote: > 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 Thanks! That did the trick. -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1602101956330.23311>