Tried option #2, which worked.  Thanks Chris!

On Mon, Jul 10, 2017 at 4:23 PM, Christopher Collins <[email protected]>
wrote:

> Hi Paul,
>
> On Mon, Jul 10, 2017 at 04:13:30PM -0400, Paul LaCrosse wrote:
> > Pauls-MacBook-Pro-2:testgoget paul$  go get mynewt.apache.org/newtmgr/.
> ..
> >
> > # cd /Users/paul/dev/go/src/mynewt.apache.org/newt; git pull --ff-only
> >
> > fatal: repository '
> > https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/' not
> > found
> >
> > package mynewt.apache.org/newtmgr/nmxact/example/ble_loop
> >
> > imports mynewt.apache.org/newt/util/unixchild: exit status 1
> >
> > Download of latest newtmgr, produces error.
>
> It appears your version of the newt repo was cloned from the old apache
> git server (before Mynewt moved to github).  Using "go get" with the
> mynewt.apache.org vanity domain helps to avoid problems like this.  To
> solve this, I would either:
>
> 1. Change the newt repo remote to the github URL:
>
>     cd $GOPATH/src/mynewt.apache.org/newt &&
>     git remote set-url origin https://github.com/apache/
> incubator-mynewt-newt.git
>
>     Or,
>
> 2. Completely remove $GOPATH/src/mynewt.apache.org and reinstall it with
> `go get mynewt.apache.org/newt/...`
>
> Thanks,
> Chris
>

Reply via email to