Skip to content

go install github.com/doronbehar/pistol@latest doesn't fetch the latest version? #112

@salenius

Description

@salenius

I can't install pistol on my Linux Mint computer. It has the following specs:

`Operating System: Linux Mint 21.3

Kernel: Linux 5.15.0-113-generic

Architecture: x86-64

Hardware Vendor: Apple Inc.

Hardware Model: iMac16,2

I have Golang and libmagic installed.

> go version
go version go1.22.5 linux/amd64

> whereis libmagic
libmagic: /usr/share/man/man3/libmagic.3.gz

Then when I'm trying to use command go install github.com/doronbehar/pistol/cmd/pistol@latest I get the following output

# github.com/doronbehar/pistol/internal_writers
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:33:22: undefined: archiver.NewZip
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:36:22: undefined: archiver.NewRar
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:39:22: undefined: archiver.NewTar
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:44:23: undefined: archiver.NewTarXz
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:50:23: undefined: archiver.NewTarBz2
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:56:23: undefined: archiver.NewTarGz
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:62:23: undefined: archiver.NewTarLz4
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:68:23: undefined: archiver.NewTarSz
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:73:23: undefined: archiver.NewTarZstd
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:85:34: undefined: archiver.Walker
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:85:34: too many errors

Any ideas is there something that I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions