Skip to content

apt-key command not found #35

@nabheet

Description

@nabheet

I am getting this error while installing this:

[2025-08-19T02:26:32.495Z] mp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/google-cloud-cli_2  && cd /tmp/dev-container-features/google-cloud-cli_2  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/google-cloud-cli_2:
0.081 ===========================================================================
0.081 Feature       : Google Cloud CLI
0.081 Description   : Install google-cloud-cli
0.081 Id            : ghcr.io/dhoeric/features/google-cloud-cli
0.081 Version       : 1.0.1
0.081 Documentation : https://github.com/dhoeric/features/tree/main/src/google-cloud-cli
0.081 Options       :
0.081     VERSION="latest"
0.081     INSTALLGKEGCLOUDAUTHPLUGIN="true"
0.081 ===========================================================================
0.083 (*) Installing google-cloud CLI...
0.089 ./install.sh: line 72: apt-key: command not found
0.093   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
0.093       
[2025-08-19T02:26:32.496Z]                            Dload  Upload   Total   Spent    Left  Speed
0.093 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1022  100  1022    0     0   3349      0 --:--:-- --:--:-- --:--:--  3350
0.398 curl: Failed writing body
0.407 ERROR: Feature "Google Cloud CLI" (ghcr.io/dhoeric/features/google-cloud-cli) failed to install! Look at the documentation at https://github.com/dhoeric/features/tree/main/src/google-cloud-cli for help troubleshooting this error.

Here

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