Skip to content

Mamba update fails with Command failed: mamba config --show auto_activate_base #731

@Quba1

Description

@Quba1

Erroneous Behavior

mamba update fails with:

mamba failed: 
   0: Command failed: `mamba config --show auto_activate_base`

      Stdout:
      Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.
   1: `mamba` failed: exit status: 1

Interestingly, everything worked just fine yesterday and today it stopped working on two similarly configured machines (one with Pop_OS!22.04 and one with Ubuntu LTS 22.04)

Expected Behavior

mamba updates successfully

Steps to reproduce

run topgrade --yes

Possible Cause (Optional)

Problem persists without calling from topgrade

  • Yes
  • No

Did you run topgrade through Remote Execution

  • Yes
  • No

If yes, does the issue still occur when you run topgrade directlly in your
remote host

  • Yes
  • No

Configuration file (Optional)

Additional Details

  • Operation System/Version
    Pop_OS!22.04

    mamba installed with miniforge

    mamba 1.5.7

    conda 24.1.2

  • Installation

    cargo install topgrade

  • Topgrade version (topgrade -V) 14.0.1

Verbose Output (topgrade -v)

DEBUG Step "mamba"
DEBUG Detected "/home/xxx/miniforge3/condabin/mamba" as "mamba"
DEBUG Executing command `mamba config --show auto_activate_base`
DEBUG Command failed: Err(
   0: Command failed: `mamba config --show auto_activate_base`
  Stdout:
  Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

1: mamba failed: exit status: 1

Location:
/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-14.0.1/src/steps/generic.rs:419)
DEBUG Step "mamba" failed:
0: Command failed: mamba config --show auto_activate_base

  Stdout:
  Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

1: mamba failed: exit status: 1

Location:
/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-14.0.1/src/steps/generic.rs:419
mamba failed:
0: Command failed: mamba config --show auto_activate_base

  Stdout:
  Currently, only install, create, list, search, run, info, clean, remove, update, repoquery, activate and deactivate are supported through mamba.

1: mamba failed: exit status: 1

Location:
/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-14.0.1/src/steps/generic.rs:419

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions