Today I installed the idea in the ubuntu software store and reported an error:
cannot install "intellij-idea-community": snap "intellij-idea-community"
has "install-snap" change in progress
In fact, the software was installed once before, but it was not installed.
solution
snap changes first
You can see that ID=5 is the one that I failed to install before.
now we terminate it
sudo snap abort 5
Okay, it's time to reinstall