umoci icon indicating copy to clipboard operation
umoci copied to clipboard

Unable to install v0.6.0 - go v1.25.1

Open david-forster10 opened this issue 1 month ago • 2 comments

When trying to install using the go CLI, receiving the below error when using 1.25.1 of the go binary:

Image Image

david-forster10 avatar Oct 31 '25 09:10 david-forster10

Yeah, this is because we currently use a forked version of https://github.com/vbatts/go-mtree because we're waiting for these PRs to merged and a new release to be created:

  • https://github.com/vbatts/go-mtree/pull/211
  • https://github.com/vbatts/go-mtree/pull/212
  • https://github.com/vbatts/go-mtree/pull/214

As far as I know, there is no reasonable way of getting around this issue even though we have a vendor directory (we could fork and copy all of go-mtree into a third_party directory but replace is more maintainable) -- it's really quite unfortunate that replace directives have this limitation. If you know of a better way, let me know.

If you just need a copy of the binary, you can get it from our release page.

cyphar avatar Oct 31 '25 10:10 cyphar

FWIW, I've added a comment to go.mod about the reason for the directive in 13c7ab54c4f67e172a71375f69197d5ce7f950d6.

cyphar avatar Oct 31 '25 10:10 cyphar