snap-stanford / snap

Stanford Network Analysis Platform (SNAP) is a general purpose network analysis and graph mining library.
Other
2.16k stars 795 forks source link

Run configure hook of "snap-store" snap if present (run hook "configure": cannot locate base snap core18: No such file or directory) #240

Open MohammedEssam011 opened 1 year ago

quianaswitch commented 1 month ago

Snap was borked following a version upgrade from 23.10 to 24.04. It was complaining of missing core18 and core22. Here's what I did to fix the issue.

sudo systemctl stop snapd sudo rm -rf /var/lib/snapd/state.json sudo systemctl start snapd sudo snap refresh

This removes the current snap state and forces it to reinitialize.