lxc / distrobuilder

System container image builder for LXC and Incus
https://linuxcontainers.org
Apache License 2.0
591 stars 171 forks source link

Can't install using recommended method from website #855

Closed KhazAkar closed 5 months ago

KhazAkar commented 5 months ago

Hi, I wanted to install distrobuilder on my machine using command given on linuxcontainers website, but it doesn't work for me:

go install -v -x github.com/lxc/distrobuilder/distrobuilder@latest
go: downloading github.com/lxc/distrobuilder v0.0.0-20240531052859-f86fb1cf2710
# get https://proxy.golang.org/github.com/@v/list
# get https://proxy.golang.org/github.com/lxc/distrobuilder/@v/list
# get https://proxy.golang.org/github.com/lxc/@v/list
# get https://proxy.golang.org/github.com/lxc/distrobuilder/distrobuilder/@v/list
# get https://proxy.golang.org/github.com/@v/list: 404 Not Found (0.042s)
# get https://proxy.golang.org/github.com/lxc/@v/list: 404 Not Found (0.099s)
# get https://proxy.golang.org/github.com/lxc/distrobuilder/@v/list: 200 OK (0.118s)
# get https://proxy.golang.org/github.com/lxc/distrobuilder/@latest
# get https://proxy.golang.org/github.com/lxc/distrobuilder/distrobuilder/@v/list: 404 Not Found (0.154s)
# get https://proxy.golang.org/github.com/lxc/distrobuilder/@latest: 200 OK (0.076s)
go: github.com/lxc/distrobuilder/distrobuilder@latest (in github.com/lxc/distrobuilder@v0.0.0-20240531052859-f86fb1cf2710):
    The go.mod file for the module providing named packages contains one or
    more exclude directives. It must not contain directives that would cause
    it to be interpreted differently than if it were the main module.

My golang version: go version go1.22.2 linux/amd64

Installation of stable version via snap works fine.

Page in question: image

KhazAkar commented 5 months ago

Thank you! :)