Skip to content

Unable to install plugin #73

@tormodmacleod

Description

@tormodmacleod

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

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