pkg 1.6.3 unable to upgrade, URL in pkg.conf problem?

Daniel Eischen deischen at freebsd.org
Thu Feb 11 00:57:57 UTC 2016


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 at 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


More information about the freebsd-ports mailing list