Skip to content

distrobox: version mismatch in sub-commands #500701

@Kladki

Description

@Kladki

Nixpkgs version

  • Unstable (26.05)

Describe the bug

When trying to run distrobox enter <container>, I get the following error:

$ distrobox enter alpine
Error: unable to start container "72fac6da944542e16768297570343d9902158fbd5b63f450852a9baf7b1e3a50": crun: cannot stat `/nix/store/5xmvdwa7cyaq2n5psqw98k8prv6hxdrr-distrobox-1.8.2.2/bin/distrobox-init`: No such file or directory: OCI runtime attempted to invoke a command that was not found

Despite the version of distrobox being 1.8.2.4, not 1.8.2.2:

$ distrobox --version
distrobox: 1.8.2.4

Steps to reproduce

  1. Create a distrobox container: distrobox create -i alpine:latest --name alpine
  2. Attempt to enter the container: distrobox enter alpine
  3. See issue.

Expected behaviour

To be able to enter the image, instead of having the above error.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.19.8, NixOS, 26.05 (Yarara), 26.05.20260316.5b2c2d8
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.3
  • nixpkgs: /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source

Notify maintainers

No one, apparently.


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions