{"record":{"id":"82aa5c72cb8bdec1","repo":"hashicorp/packer","slug":"could-not-parse-checksum-filename-s-is-it-correc","errorCode":null,"errorMessage":"could not parse checksum filename %s. Is it correctly formatted ? %s","messagePattern":"could not parse checksum filename (.+?)\\. Is it correctly formatted \\? (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packer/plugin-getter/plugins.go","lineNumber":742,"sourceCode":"\t\t\t\t\tlog.Printf(\"[TRACE] %s\", err)\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\n\t\t\t\tentries, err := ParseChecksumFileEntries(checksumFile)\n\t\t\t\t_ = checksumFile.Close()\n\t\t\t\tif err != nil {\n\t\t\t\t\terr := fmt.Errorf(\"could not parse %s checksumfile: %v. Make sure the checksum file contains a checksum and a binary filename per line\", checksummer.Type, err)\n\t\t\t\t\terrs = multierror.Append(errs, err)\n\t\t\t\t\tlog.Printf(\"[TRACE] %s\", err)\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\n\t\t\t\tfor _, entry := range entries {\n\t\t\t\t\tif filepath.Ext(entry.Filename) == JSONExtension {\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\t\t\t\t\tif err := getter.Init(pr, &entry); err != nil {\n\t\t\t\t\t\terr := fmt.Errorf(\"could not parse checksum filename %s. Is it correctly formatted ? %s\", entry.Filename, err)\n\t\t\t\t\t\terrs = multierror.Append(errs, err)\n\t\t\t\t\t\tlog.Printf(\"[TRACE] %s\", err)\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\n\t\t\t\t\tmetaOpts := GetOptions{\n\t\t\t\t\t\tPluginRequirement:         pr,\n\t\t\t\t\t\tBinaryInstallationOptions: opts.BinaryInstallationOptions,\n\t\t\t\t\t\tversion:                   version,\n\t\t\t\t\t}\n\t\t\t\t\tif err := getter.Validate(metaOpts, version.String(), opts.BinaryInstallationOptions, &entry); err != nil {\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\n\t\t\t\t\tlog.Printf(\"[TRACE] About to get: %s\", entry.Filename)\n\n\t\t\t\t\tcs, err := checksummer.ParseChecksum(strings.NewReader(entry.Checksum))\n\t\t\t\t\tif err != nil {","sourceCodeStart":724,"sourceCodeEnd":760,"githubUrl":"https://github.com/hashicorp/packer/blob/eb36e3c3e48a036f3e8cc94087636ee72e1303c9/packer/plugin-getter/plugins.go#L724-L760","documentation":"Plugin installation error from InstallLatest: a checksum-file entry's filename is not in the expected packer-plugin-{name}_{version}_{os}_{arch} shape, so the OS/arch/protocol metadata cannot be extracted. The entry is skipped.","triggerScenarios":"Thrown at packer/plugin-getter/plugins.go:742 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry — other entries/getters are tried automatically","Verify the plugin release assets follow the standard naming convention"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"eb36e3c3e48a036f3e8cc94087636ee72e1303c9","analyzedAt":"2026-09-05T13:20:43.127Z","contentChangedAt":"2026-09-05T13:20:43.127Z","schemaVersion":2},"datasetVersion":"2026-09-12T17:17:11.597Z"}