conda / rattler

Rust crates to work with the Conda ecosystem.
BSD 3-Clause "New" or "Revised" License
252 stars 51 forks source link

Error in clobber logic when reinstalling `rust` #827

Open ruben-arts opened 4 weeks ago

ruben-arts commented 4 weeks ago

Checklist

What happened?

These steps don't work for me. Found it in pixi but recreates with rattler create

> rattler create rust
> rattler create "rust<1.80"
# Hangs
> rattler create "rust<1.80"
# Works
> rattler create rust
Target prefix: /home/rarts/dev/rattler/.prefix
Installing for platform: Linux64
Loaded 2874 records in 80.621685ms
Virtual packages:
  - __unix=0=0
  - __linux=6.9.3=0
  - __glibc=2.35=0
  - __cuda=12.5=0
  - __archspec=1=skylake

⠁ installing packages  [00:00:00] [────────────────────]     0/4 rust                                                                                                                                                   thread 'main' panicked at crates/rattler/src/install/clobber_registry.rs:120:65:
entry must exist
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  validate cache       [00:00:00] [━━━━━━━━━━━━━━━━━━━━] rust
  installing packages  [00:00:00] [━━━━━━━━━━━━━━━━━━━━]     4/4 rust   

Additional Context

It might be part of any of the other issues around clobbering but I'm not sure an the moment.