pkg 1.6.3 unable to upgrade, URL in pkg.conf problem?
Warren Block
wblock at wonkity.com
Wed Feb 10 22:27:53 UTC 2016
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 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]
>
> 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
More information about the freebsd-ports
mailing list