Skip to content

Plugin cannot install 0.10.2: Unable to update repository #145

@gildas

Description

@gildas

On my Linux desktop, I just ran the usual install command but got the error Unable to update repository, reran it in debug:

helm --debug plugin install https://github.com/chartmuseum/helm-push                
[debug] vcs_installer.go:162: updating https://github.com/chartmuseum/helm-push
Error: Unable to update repository: exit status 1
helm.go:84: [debug] Unable to update repository: exit status 1

as you can see there is no .git at the end of the command.

Out of curiosity, I tried an helm update on a Mac where I still had an old version of the plugin 0.7.1, I get a similar error:

helm --debug plugin update push
plugin_update.go:65: [debug] loading installed plugins from /Users/gildas/.local/share/helm/plugins
[debug] vcs_installer.go:97: updating https://github.com/chartmuseum/helm-push
Error: Failed to update plugin push, got error (Unable to update repository: exit status 1)
helm.go:84: [debug] Failed to update plugin push, got error (Unable to update repository: exit status 1)
main.(*pluginUpdateOptions).run
	helm.sh/helm/v3/cmd/helm/plugin_update.go:84
main.newPluginUpdateCmd.func3
	helm.sh/helm/v3/cmd/helm/plugin_update.go:49
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.3.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.3.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.3.0/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:255
runtime.goexit
	runtime/asm_amd64.s:1581

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions