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

Baptiste Daroussin bapt at FreeBSD.org
Thu Feb 11 12:38:06 UTC 2016


On Wed, Feb 10, 2016 at 07:57:55PM -0500, Daniel Eischen wrote:
> 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!

FYI pkg 1.6.4 is out and relaxes the syntax

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160211/89fba185/attachment.sig>


More information about the freebsd-ports mailing list