Skip to content

opencode.ai / astral.sh-uv installs fail due to missing gettext-base #77

@skwde

Description

@skwde

Both opencode.ai and astral.sh-uv need gettext-base.

Installation in the devcontainer fails with

 > [dev_containers_target_stage 5/9] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=astral.sh-uv_0,target=/tmp/build-features-src/astral.sh-uv_0     cp -ar /tmp/build-features-src/astral.sh-uv_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/astral.sh-uv_0  && cd /tmp/dev-container-features/astral.sh-uv_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/astral.sh-uv_0:
0.213 ===========================================================================
0.213 Feature       : astral.sh/uv
0.213 Description   : Install "uv" and "uvx" binaries
0.213 Id            : ghcr.io/devcontainer-community/devcontainer-features/astral.sh-uv
0.213 Version       : 1.0.1
0.213 Documentation : https://github.com/devcontainer-community/devcontainer-features/tree/main/src/uv
0.213 Options       :
0.213     VERSION="latest"
0.213     SHELLAUTOCOMPLETION="true"
0.213 ===========================================================================
0.216 devcontainer.community
0.216 Installing uv...
0.240 Reading package lists...
0.252 Building dependency tree...
0.253 Reading state information...
0.254 Package gettext-base is not available, but is referred to by another package.
0.254 This may mean that the package is missing, has been obsoleted, or
0.254 is only available from another source
0.254 
0.254 E: Package 'gettext-base' has no installation candidate
0.255 ERROR: Feature "astral.sh/uv" (ghcr.io/devcontainer-community/devcontainer-features/astral.sh-uv) failed to install! Look at the documentation at https://github.com/devcontainer-community/devcontainer-features/tree/main/src/uv for help troubleshooting this error.

or similar in case of opencode.ai.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions