Flox/podman environment seems corrupt

I’m getting the following when trying to use the pre-canned Flox podman environment. Have tried this on a couple of different machines.

~/dev$ flox activate -r flox/podman
❌ ERROR: Failed to parse lockfile as JSON: Invalid version at line 2 column 23

This is likely due to a corrupt environment.

The error message is different from if I’d mistyped the name, as that gives “ref not found”.

BTW, this is referenced from Flox | Run Containers Easily with Podman + Flox.

Thanks for the heads up! We’ll get this fixed

This should be fixed now! Let us know if you see further issues

Yep, working now, thanks!

Actually, I may have spoken too soon. I don’t get the corruption error, however the flox/podman environment is not activating properly:

bash-5.2# flox activate -r flox/podman
✅ You are now using the environment 'flox/podman (remote)'.
To stop using this environment, type 'exit'


🍟 Podman is available.
bash-5.2# which podman
which: no podman in (/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin)

bash-5.2# flox envs
Inactive environments:
  podman       /root/.cache/flox/remote/flox/podman

This is from within the latest Package flox · GitHub OCI container running under Docker.

Ugh you’re right. Another fix coming…

Okay made another fix - how about now?

Activation now working, thanks. I’m getting some other permission problems now but need to dig into those a bit as they may be just about running Podman inside docker rather than being Flox-specific.