Re: [go-nuts] How to update packages without duplicating distro packages

2018-08-09 Thread Kevin Locke
On Thu, 2018-08-09 at 06:18 +, Jakob Borg wrote: > On 9 Aug 2018, at 00:09, Kevin Locke wrote: >> Thanks for the explanation! Is there a way for me to update the >> locally installed packages (shfmt and its dependencies in this >> example) without installing addition

Re: [go-nuts] How to update packages without duplicating distro packages

2018-08-08 Thread Kevin Locke
On Wed, 2018-08-08 at 21:57 +, Jakob Borg wrote: > What’s happening here is that you are pulling in more dependencies > than you expect. > > $ rm -rf ~/go $ go get -u > mvdan.cc/sh/cmd/shfmt > > In those commands, you downloaded the repo > mvdan.cc/sh

Re: [go-nuts] How to update packages without duplicating distro packages

2018-08-08 Thread Kevin Locke
On Wed, 2018-08-08 at 14:20 +0200, Jan Mercl wrote: > On Wed, Aug 8, 2018 at 1:40 PM Kevin Locke wrote: > > In my initial email $GOPATH was unset. > > Then I would try (unset $GOPATH defaults to being effectively the same as > $HOME/go on nix) > > $ cd $HOME/go/src ; g

Re: [go-nuts] How to update packages without duplicating distro packages

2018-08-08 Thread Kevin Locke
On Wed, 2018-08-08 at 11:50 +0200, Jan Mercl wrote: > On Mon, Aug 6, 2018 at 6:12 AM Kevin Locke wrote: >> Is there a way to update packages installed using `go get` without >> duplicating packages that are distributed with Go or by my Linux >> distribution? > &g

[go-nuts] How to update packages without duplicating distro packages

2018-08-05 Thread Kevin Locke
Hello, Is there a way to update packages installed using `go get` without duplicating packages that are distributed with Go or by my Linux distribution? Background: I'm not a Go developer (yet). I am using some programs written in Go, which I installed using `go get`, and would like to keep tho