I just finished the installation of the Ubuntu 18.04, but whenever I try to install any application from Ubuntu Software the same error occurs (for example "vlc"):
unable to install "vlc": snap "vlc" has "install-snap" change in progress
I hope somebody can tell me what I've done wrong.
Snap is probably still working on something in the background (or at least it thinks so). Open a terminal and run
snap changes
so see a list of ongoing changes.You can abort ongoing change(s):
Then you should be able to successfully install VLC through the software center, or through the command line using
snap install vlc
.Open your terminal and follow these steps.
1. Abort the "vlc" snap process.
Inspect your snap "vlc" process by running command
snap changes
, this will show the status list of the snaps installations similar to this.2. Pick the ID of your VLC snap process
Pick the ID of your "vlc" snap process, for the example
8
3. Abort the snap process by ID
Abort snap process by running command
snap abort 8
. This action will abort your vlc snap installation process.4. Open your Software Center or running snap installation by a terminal
5. Wait for the installation until finished.
Open your terminal and type the below command in terminal.
you will see the following results
Note that id in this output . Here its 4(for sticky notes app). You need to abort that snap operation by running the below command.
After this try to install it again. If you still get that error restart your system and try again. And try to refresh your package also.
Thankyou , hope this helps!
In my case, you do not have to do anything, just wait until the application is getting installed. The installation process is not shown (I am not sure if it is some kind of a bug or feature) and it does the installation completely. Just sit tight and wait for it to get installed. It has happened and worked properly several times for me. Hope it works for others.
Same thing occured on my fresh 20.04 installation. Ubuntu asked to reboot while snap was installing two packages. Once the system has made its reboot, snap gui did not show any state of progress. With the
snap changes
cmd, you see that the state is "Doing" for the package that is installing. You can wait blindly 'till the end, or abort the activity with the id, and launch it again to see progress :Just like did Aditya Kresna Permana
I don't have any problem with the solutions above, but I have a suggestion according to my experiences.
If you use
snap changes
in the terminal, and you see that Status isDoing
forvlc
snap in your case, if you don't abort it, it'll probably install it.And after the installation is done,
Ubuntu Software
will probably give you a notification that: