Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 17:01:02 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg 1.6.3 unable to upgrade, URL in pkg.conf problem?
Message-ID:  <Pine.GSO.4.64.1602101657420.22729@sea.ntplx.net>
In-Reply-To: <AACBECC1-9E1A-4EB8-8D0A-8C94DFC99CCC@FreeBSD.org>
References:  <Pine.GSO.4.64.1602101353240.22071@sea.ntplx.net> <AACBECC1-9E1A-4EB8-8D0A-8C94DFC99CCC@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/..."

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1602101657420.22729>