Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2014 10:09:57 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Glen Barber <gjb@freebsd.org>
Cc:        John-Mark Gurney <jmg@funkthat.com>, current@freebsd.org
Subject:   Re: error message from pkg on HEAD
Message-ID:  <CAOjFWZ722E=TD%2BgQm4%2BMzWb%2BVEez-HwKx8OCasPpXNc3k7V9iQ@mail.gmail.com>
In-Reply-To: <20140114042243.GW1742@glenbarber.us>
References:  <20140114041534.GJ2982@funkthat.com> <20140114042243.GW1742@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 13, 2014 at 8:22 PM, Glen Barber <gjb@freebsd.org> wrote:

> On Mon, Jan 13, 2014 at 08:15:34PM -0800, John-Mark Gurney wrote:
> > So, now when I run pkg I get the following:
> > pkg: Ignoring bad configuration entry in
> /usr/local/etc/pkg/repos/FreeBSD.conf: "URL:
> http://pkg.freebsd.org/${ABI}/latest"
> > pkg: Ignoring bad configuration entry in
> /usr/local/etc/pkg/repos/FreeBSD.conf: true
> > pkg: Ignoring bad configuration entry in
> /usr/local/etc/pkg/repos/FreeBSD.conf: "SRV"
> >
> > pkg does seem to work so I'm not sure what I need to do.  I think I was
> > told to add these lines to the file, though I'm not sure, so I don't wa=
nt
> > to delete them.
> >
> > Thanks for help in letting me know what the solution is.
> >
> > # pkg -v
> > 1.2.4_1
> > # uname -a
> > FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #4
> r260082M: Wed Jan  1 12:08:41 PST 2014     jmg@carbon.funkthat.com:/usr/o=
bj/usr/src/sys/lockprof
>  amd64
> > # cat /usr/local/etc/pkg/repos/FreeBSD.conf
> > FreeBSD:
> >   URL: http://pkg.freebsd.org/${ABI}/latest
> >   ENABLED: YES
> >   MIRROR_TYPE: SRV
> >
>
> The file format is incorrect.
>
> FreeBSD: {
>     url: "http://pkg.freebsd.org/${ABI}/latest",
>     enabled: yes,
>     mirror_type: "srv"
>     }
>
> Shouldn't the URL start with "pkg+http://"?=E2=80=8B=E2=80=8B

--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ722E=TD%2BgQm4%2BMzWb%2BVEez-HwKx8OCasPpXNc3k7V9iQ>