openethereum / parity-deploy

Parity deployment script.
Apache License 2.0
81 stars 52 forks source link

Parity install script failing for specific version #47

Closed codyborn closed 6 years ago

codyborn commented 6 years ago

The Parity client install script fails when using a specific version. Example: bash <(curl https://get.parity.io -Lk) -r v1.10.6

dpkg-deb: error: '/tmp/tmp.VAwOMY2BP7/parity_1.10.6_ubuntu_amd64.deb.md5' is not a debian format archive

The problem is that the installation script will accidentally download the .md5 file instead of the .deb file. https://raw.githubusercontent.com/paritytech/scripts/master/get-parity.sh

This began failing when the versioned vanity-service began returning .md5 files. https://vanity-service.parity.io/parity-binaries?architecture=x86_64&format=markdown&os=linux&version=stable

Simple fix in installation script is to filter out md5 files: MD=$(curl -Ss ${LOOKUP_URL} | grep -v sha256 | grep deb | grep -v md5)

codyborn commented 6 years ago

Ignore this issue. Re-opening under correct repo: https://github.com/paritytech/scripts