Scoop: "The remote server returned an error: (404) Not Found." while the resource is online

Created on 20 Oct 2018  路  5Comments  路  Source: lukesampson/scoop

PS C:UsersXXX> scoop install vegeta
Installing 'vegeta' (12.0.0) [64bit]
The remote server returned an error: (404) Not Found.
URL https://github.com/tsenart/vegeta/releases/download/cli%2Fv$version/vegeta-$version-windows-amd64.zip is not valid

This is the result with enabled and disabled aria2 - no success, but the file is there and CAN be downloaded ...

Where's my mistake? This is the code used in my personal bucket for installing vegeta:

{ "homepage": "https://github.com/tsenart/vegeta/releases/latest", "license": "MIT License", "version": "12.0.0", "architecture": { "64bit": { "url": [ "https://github.com/tsenart/vegeta/releases/download/cli%2Fv$version/vegeta-$version-windows-amd64.zip" ], "hash": [ "041e17e5fbe506dc8e652e5de7e5c1b4e4bf9910078ba1c35cf74c40d7483f78" ] } }, "bin": "vegeta.exe", "checkver": "<title>Release ([\\d.]+) 路 tsenart/vegeta</title>", "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/tsenart/vegeta/releases/download/cli%2Fv$version/vegeta-$version-windows-amd64.zip" } } } }

All 5 comments

Your manifest is wrong in many ways. See Wiki

Here is correct one:

{
    "version": "12.0.0",
    "description": "HTTP load testing tool and library.",
    "homepage": "https://github.com/tsenart/vegeta/",
    "license": {
        "identifier": "MIT",
        "url": "https://github.com/tsenart/vegeta/blob/master/LICENSE"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/tsenart/vegeta/releases/download/cli%2Fv12.0.0/vegeta-12.0.0-windows-amd64.zip",
            "hash": "b425ae4021e0fa47167dae1792def5c0aa0aaedb697deda07b6b20429eb6736b"
        }
    },
    "bin": "vegeta.exe",
    "checkver": {
        "github": "https://github.com/tsenart/vegeta/",
        "regex": ">v([\\d\\.]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/tsenart/vegeta/releases/download/cli%2Fv$version/vegeta-$version-windows-amd64.zip"
            }
        },
        "hash": {
            "url": "https://github.com/tsenart/vegeta/releases/download/cli%2Fv$version/vegeta-checksums.txt"
        }
    }
}

Whoa, thanks! I'll use this as template ... Btw do you like the idea to have a browser based manifest generator for scoop?

What idea? Where was that idea said?

A friend suggested it for easier app manifest creation hence more apps supported in scoop

I really don't care.

Close the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vpratfr picture vpratfr  路  3Comments

roysubs picture roysubs  路  3Comments

eBaeza picture eBaeza  路  3Comments

notlmn picture notlmn  路  3Comments

benplm picture benplm  路  3Comments