-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
this appears to be similar to #443
But in the v3.0.0 Release, the artifact DSC-3.0.0-aarch64-linux.tar.gz does not seem to be gzip or tar format.
replacing the artifact with the earlier release DSC-3.0.0-preview.10-aarch64-unknown-linux-musl.tar.gz
works as expected, and actually appears to be the last Release artifact for aarch64-linux to be valid, (v3.0.0-preview.11, v3.0.0-preview.12, and v3.0.0-rc.1 have the same issue)
Steps to reproduce
- Download DSC-3.0.0-aarch64-linux.tar.gz:
curl -sL -o "/tmp/DSC-3.0.0-aarch64-linux.tar.gz" "https://github.com/PowerShell/DSC/releases/download/v3.0.0/DSC-3.0.0-aarch64-linux.tar.gz" - ensure the filehash:
(Get-FileHash /tmp/DSC-3.0.0-aarch64-linux.tar.gz).Hash
E9F739AF8B0BC75C719D075804BE28090078814E6F813D6D864163A758958FC3- ensure the desired target directory exists, e.g.
/opt/microsoft/dsc/3 - Attempt to extract with
tar -xzf /tmp/DSC-3.0.0-aarch64-linux.tar.gz -C /opt/microsoft/dsc/3
# gzip: stdin: not in gzip format- Rename to
.tar - Attempt to extract with
tar -xvf /tmp/DSC-3.0.0-aarch64-linux.tar -C /opt/microsoft/dsc/3
# tar: This does not look like a tar archiveExpected behavior
the artifact can be successfully unpacked.
Replacing the artifact with [DSC-3.0.0-preview.10-aarch64-unknown-linux-musl.tar.gz
](https://github.com/PowerShell/DSC/releases/download/v3.0.0-preview.10/DSC-3.0.0-preview.10-aarch64-unknown-linux-musl.tar.gz), and using the reproduction steps 1-2, results in unpacked files.Actual behavior
# gzip: stdin: not in gzip format
# tar: This does not look like a tar archiveError details
N/AEnvironment data
N/AVersion
3.0.0
Visuals
No response
Reactions are currently unavailable