Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install plugin #73

Open
tormodmacleod opened this issue Nov 25, 2024 · 0 comments
Open

Unable to install plugin #73

tormodmacleod opened this issue Nov 25, 2024 · 0 comments

Comments

@tormodmacleod
Copy link

Hello,

It seems the absence of a checksum file makes it difficult to install the plugin

$ cat plugins.pkr.hcl 
packer {
  required_plugins {
    amazon = {
      version = "1.3.3"
      source  = "github.com/hashicorp/amazon"
    }
    ansible = {
      version = "1.1.2"
      source  = "github.com/hashicorp/ansible"
    }
    podman = {
      version = "1.0.0"
      source  = "github.com/Polpetta/podman"
    }
  }
}
$ packer-io init plugins.pkr.hcl
Installed plugin github.com/hashicorp/amazon v1.3.3 in "/home/tormod/.packer.d/plugins/github.com/hashicorp/amazon/packer-plugin-amazon_v1.3.3_x5.0_linux_amd64"
Installed plugin github.com/hashicorp/ansible v1.1.2 in "/home/tormod/.packer.d/plugins/github.com/hashicorp/ansible/packer-plugin-ansible_v1.1.2_x5.0_linux_amd64"
Failed getting the "github.com/Polpetta/podman" plugin:
2 errors occurred:
        * could not get sha256 checksum file for github.com/Polpetta/podman version 1.0.0. Is the file present on the release and correctly named ? GET https://github.com/Polpetta/packer-plugin-podman/releases/download/v1.0.0/packer-plugin-podman_v1.0.0_SHA256SUMS: 404  []
        * could not install any compatible version of plugin "github.com/Polpetta/podman"

I assume it's to do with the fact that the release of 1.0.0 contains only v1.0.0.zip & v1.0.0.tar.gz where previous releases included checksums et cetera

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant