If you are using mambaforge instead of stock conda, the upgrade tool will fail at the conda update 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
Is there any way of customizing this? Did not see anything in topgrade.toml
.
stego
June 29, 2024, 6:36pm
2
how did you install mamba?
There wasn’t a brew for it so I used the installer distributed by the project.
stego
June 29, 2024, 6:53pm
4
That doesn’t tell us much. You have to be more precise. Otherwise it is a fool’s errand to reproduce the problem.
It was just running the shell script that is the installer:
bash Miniforge3-Linux-x86_64.sh
I had the same issue and I was able to prevent it by editing my /etc/ublue-os/topgrade.toml
file to add the following:
[misc]
disable = ["conda", "mamba"]
I didn’t want topgrade to handle conda updates either, so I included both.
That sounds like what I need, but there does not seem to be a /etc/ublue-os/
on my system. There is a /etc/ublue-update/
with topgrade-system.toml
and topgrade-user.toml
, but adding the above disable command does not prevent update from trying to mess with conda/mamba.
Strange… I’m on Bazzite, not Bluefin or Aurora, but I figured topgrade would be fairly conserved across ublue variants.
Do you have /usr/share/ublue-os/topgrade.toml
? Mine includes the following lines at the top:
[include]
paths = ["/etc/ublue-os/topgrade.toml"]
Which is what led me to the /etc
config file. Maybe there’s something similar on your system that can lead you to the user-configurable file.
No [include]
section in mine, thought there is a [misc]
section with a ignore_failures
entry.
Hm, sorry, this might be beyond my capacity as just a ublue user. It seems like these are relevant though, so maybe they could be bumped:
opened 09:09PM - 21 Apr 24 UTC
Include user managed `topgrade` custom commands in `/usr/share/ublue-os/topgrade… .toml` via:
```
[include]
paths = $HOME/.config/topgrade.d/
```
Background: https://universal-blue.discourse.group/t/topgrade-custom-commands/1141
1 Like
system
Closed
September 28, 2024, 7:24pm
11
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.