Hello people! I was trying to uninstall to install IntelliJ IDEA Community due to an bug. However, I can't install it again. In the Gnome Software, it says “Uninstall”, even though I no longer have the program installed on my machine. I've tried rebooting, closing and opening the Software Store again, but nothing works. How do I solve this?
Ok, so what I'm seeing from the software store is it's saying Flathub, so a flatpak version of it is installed, not a snap like you're trying to uninstall in the second image.
If you try to remove it through flatpak, does it still fail? Or if you try to launch it using flatpak currently, does it open up or do errors get thrown in the terminal?
Like @applecheeks37 wrote is under the Uninstall Button to see that are ''Flathub'' is chosen. So, the Program should be a Flatpak.
You could check that with the Terminal Command flatpak list
This shows You a List of installed Flatpak's. There You can look if this is on the List.
Alternatively You can type snap list
to show a List of installed Snap's an check there if it is listed.
Hi, I tried the steps you two suggested, here’s what I did:
It looks like IntelliJ isn't installed via Flatpak after all, but Gnome Software still shows "Uninstall" as if it is. Could there be some leftover data or a corrupted installation that's causing this issue? What should I try next?
Okay, quick update here, I just looked in the Software Store and it showed the app as uninstalled. I've just installed it again, now I just have to solve this problem I'm having in IntelliJ
Cannot connect to already running IDE instance.
IllegalStateException: Process "/app/IDEA-C/jbr/bin/java" (2) is still running.
If the process is an instance of the IDE, please collect the logs and contact support.
If it isn't, please delete the stale "/home/antonio/.var/app/com.jetbrains.IntelliJ-IDEA-Community/config/JetBrains/IdeaIC2024.2/.lock" file and restart the IDE.