rk icon indicating copy to clipboard operation
rk copied to clipboard

-bash: rk: command not found

Open cy414 opened this issue 2 years ago • 3 comments

Hello, my machine is CentOS 7. I have some problems when I run go get -u github.com/rookie-ninja/rk/cmd/rk .

error detail:

# github.com/rookie-ninja/rk/commands/pkg
../Go/pkg/mod/github.com/rookie-ninja/[email protected]/commands/pkg/pkg_create.go:99:7: undefined: rkcommon.NewMemFsToLocalFsCopier
../Go/pkg/mod/github.com/rookie-ninja/[email protected]/commands/pkg/pkg_create.go:112:7: undefined: rkcommon.NewPkgerFsToLocalFsCopier

[root@localhost ~]# rk install
-bash: rk: command not found

Hope to get your reply and help. Thanks.

cy414 avatar Apr 21 '22 03:04 cy414

@cy414 I got the problem description, I will try to reproduce the problem under the same environment and reply with solution ASAP.

dongxuny avatar Apr 21 '22 04:04 dongxuny

Found the problem, I will fix the problem by the end of today and publish a new release.

dongxuny avatar Apr 21 '22 04:04 dongxuny

@cy414 Fixed the problem and tested under CentOS.

The problem occurs because of rk-common package was deprecated. Now the dependency was removed. We removed rk pkg command from rk CLI currently since a new version of rk pkg would be designed soon.

Please download release of v1.2.4 and it would be working.

dongxuny avatar Apr 22 '22 00:04 dongxuny