Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 23:33:17 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Daniel Eischen <deischen@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: pkg 1.6.3 unable to upgrade, URL in pkg.conf problem?
Message-ID:  <20160210223317.GH1141@ivaldir.etoilebsd.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

--ZPDwMsyfds7q4mrK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > 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.
> >=20
> > The packages are here on my local (localhost, vega) box:
> >=20
> >  /usr/local/poudriere/data/packages/11amd64-default
> >=20
> > My repo pkg.conf (vega.conf) looks like this:
> >=20
> >  vega: {
> >    url: "file://localhost/usr/local/poudriere/data/packages/11amd64-def=
ault",
>=20
> Try using file:/// (e.g three slashes).  Yes, this is ugly, and Tim
> Berners-Lee has even apologized for it... :-) [1]
>=20
> -Dimitry
>=20
> [1] http://news.bbc.co.uk/2/hi/technology/8306631.stm
>=20
Yes that is it.

Note that I will relax it in pkg 1.6.4 to be released very soon, I have bee=
n 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 s=
ome
users seems to use the previous syntax

Best regards,
Bapt

--ZPDwMsyfds7q4mrK
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWu7qtAAoJEGOJi9zxtz5a1J0P/infEIZjUXJpLT6yNUAhhJlj
h4qXbgD4H1kjzjAzClmj7yfRrMrcvYhKPAj9qhoFc8v9/w/NeGUQGafk8e4VciNa
LZvRqgt54qn1n/XFh19z5q0ZWqExUdPbZSVyIcJZL5LuH3R0X+iFd7dNrIQ9lfHQ
trSt9kp9rya7sE17/ju/u76SEv4Je/qjxshR0Utg+sn1z95EYqNWb51pEfwgRrQs
n1CyiwxKZ7e9k9NbU+RfOMAlU1wRJ4Cf1D7AbcbCdbeIEIUcyWTUb4BlJeIknCZk
dpPb6eU6cnmF2B5E9GsHGmX+lnF3GjI1iZDMD2mRuG0xJp/rRnPx2EY3FTzWBucG
hXqEQNJJl8ibRKdGcxi1xcG+S0WAypM/xwUY2xAYBscxxWtdqdz9uIJQ52QRhz70
zL2y1b24N0iuF/w5QEK8uux5TAyzKWgSgogU1KwbVcWqc08CQY2QeAuqO73oUN8I
RFb0Mt3EjO5/ed8S//XGHUqe8vmG/Tyd/AOEug3T+YGq1zUEUnlALFoVye/xy5PP
L1eiUgLjVupdYZmzoBU99FynrIlfntsHoe8dyG6zT3meEzwJHZ5137CFEv3KlnJW
NkG+iOyYnuZtr93HNk0WSSniU/EIJEwDTyGCXtphgC7BnBslXstqjok/zkxtWUKS
wE3u8t2Jm2lfUozZTBiE
=M52g
-----END PGP SIGNATURE-----

--ZPDwMsyfds7q4mrK--



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