I have several versions of a package installed that differ only by their hash:
$ spack find -p cactusext
==> 3 installed packages.
-- linux-redhat7-x86_64 / gcc@6.1.0-spack -----------------------
cactusext@master /home/eschnett/src/spack/opt/spack/linux-redhat7-x86_64/gcc-6.1.0-spack/cactusext-master-oi3cpui7hrd5j6wuilp2dmxbkv2tlo3q
cactusext@master /home/eschnett/src/spack/opt/spack/linux-redhat7-x86_64/gcc-6.1.0-spack/cactusext-master-iwpmzszzi47ge2s5rikzzmchqo33qg65
cactusext@master /home/eschnett/src/spack/opt/spack/linux-redhat7-x86_64/gcc-6.1.0-spack/cactusext-master-ppvk4aqxve274wlhcb2pyzqrlrozps5o
When I try to uninstall by hash, Spack wants to uninstall all of them:
$ spack uninstall cactusext/oi3cpui
==> Error: cactusext matches multiple packages:
-- linux-redhat7-x86_64 / gcc@6.1.0-spack -----------------------
oi3cpui cactusext@master%gcc+funhpc+julia+llvm+simulationio
iwpmzsz cactusext@master%gcc+funhpc+julia+llvm+simulationio
ppvk4aq cactusext@master%gcc+funhpc+julia+llvm+simulationio
==> Error: You can either:
a) Use a more specific spec, or
b) use spack uninstall -a to uninstall ALL matching specs.
I have several versions of a package installed that differ only by their hash:
When I try to uninstall by hash, Spack wants to uninstall all of them: