Skip to content

Ensure commandline-tools archive is downloaded task is failing due to checksum mismatch #2

@Snipx

Description

@Snipx
  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

Steps to reproduce:

dependencies:
  - role: professormanhattan.androidstudio
    user_configs:
      - username: ubuntu
        system: true

Result:

    amazon-ebs: TASK [professormanhattan.androidstudio : Ensure commandline-tools archive is downloaded] ***
    amazon-ebs: Tuesday 24 May 2022  18:13:39 +0300 (0:00:00.143)       0:06:44.233 ***********
    amazon-ebs: fatal: [default]: FAILED! => {"changed": true, "checksum_dest": null, "checksum_src": "5e7bf2dd563d34917d32f3c5920a85562a795c93", "dest": "/tmp/commandlinetools-linux-8512546_latest.zip", "elapsed": 0, "msg": "The checksum for /tmp/commandlinetools-linux-8512546_latest.zip did not match 5e7bf2dd563d34917d32f3c5920a85562a795c93; it was 2ccbda4302db862a28ada25aa7425d99dce9462046003c1714b059b5c47970d8.", "src": "/root/.ansible/tmp/ansible-moduletmp-1653405221.423859-6jitlcxz/tmpv55h7esk", "url": "https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip"}
    amazon-ebs:

Note that 2ccbda4302db862a28ada25aa7425d99dce9462046003c1714b059b5c47970d8 is the SHA256 checksum and 5e7bf2dd563d34917d32f3c5920a85562a795c93 is the SHA1 checksum, both of the same file

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