Re: error message from pkg on HEAD

From: John-Mark Gurney <jmg_at_funkthat.com>
Date: Mon, 13 Jan 2014 20:39:25 -0800
Glen Barber wrote this message on Mon, Jan 13, 2014 at 23:22 -0500:
> 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 want
> > 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_at_carbon.funkthat.com:/usr/obj/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"
>     }

For the archives.

Glen helped me in IRC, it turns out that this file was no longer
necessary.  I beileve I was told to add it at one point to make pkg
work, but the correct solution was to remove the file...

Thanks Glen.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Tue Jan 14 2014 - 03:39:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC