Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 19:57:55 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Baptiste Daroussin <bapt@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:  <Pine.GSO.4.64.1602101957110.23311@sea.ntplx.net>
In-Reply-To: <20160210223317.GH1141@ivaldir.etoilebsd.net>
References:  <Pine.GSO.4.64.1602101353240.22071@sea.ntplx.net> <AACBECC1-9E1A-4EB8-8D0A-8C94DFC99CCC@FreeBSD.org> <20160210223317.GH1141@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Feb 2016, Baptiste Daroussin wrote:

> On Wed, Feb 10, 2016 at 10:16:44PM +0100, 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]
>>
>> -Dimitry
>>
>> [1] http://news.bbc.co.uk/2/hi/technology/8306631.stm
>>
> Yes that is it.
>
> Note that I will relax it in pkg 1.6.4 to be released very soon, I have been too
> strict by accident in pkg 1.6.3 (I have never thought anyone would use file://
> or file:/.
>
> pkg respects RFC2396 but there are not reason not to relax it a bit given some
> users seems to use the previous syntax

No worries, now that I have the correct syntax.  Thanks!

-- 
DE



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