If you’re an Ubuntu user and you’ve recently encountered the error message “Unable to install ‘<PACKAGE>’: snap ‘<PACKAGE>’ has ‘install-snap’ change in progress” while attempting to install an application through Ubuntu Software, you’re not alone. This error can be frustrating, but fear not! In this guide, we’ll walk you through the steps to troubleshoot and resolve this issue. Let’s get started!
Understanding the Error
The error message suggests that there is an ongoing change related to the installation of the desired package. The snap system, which manages software packages in Ubuntu, is currently working on another installation process and cannot proceed with the new installation until the previous one is completed.
Solution: Checking Snap Changes
To resolve this error, we need to check the current snap changes and abort any ongoing processes. Here’s how:
- Open the terminal by pressing
Ctrl + Alt + T
on your keyboard. - Run the following command to view the list of ongoing changes:Copy code
snap changes
This command will display a table of active and pending changes in the snap system. - Look for the relevant snap process that matches the package you’re trying to install. Identify the ID associated with the change that has the “Doing” status.
- To abort the ongoing change, execute the following command, replacing
<ID>
with the ID you identified in the previous step:cCopy codesudo snap abort <ID>
This command will stop the ongoing change and allow you to proceed with the installation.
Solution: Retry Installation
After aborting the ongoing snap change, you can now retry the installation of the desired package. There are two methods you can try:
Method 1: Ubuntu Software Center
- Open Ubuntu Software Center.
- Search for the package you want to install, such as “<PACKAGE>”, using the search bar.
- Click on the package to open its details page.
- Click the “Install” button to initiate the installation process.
- Follow the on-screen prompts and provide your password if requested.
- Wait for the installation to complete.
Method 2: Terminal
- Open the terminal.
- Execute the following command to install the package, replacing
<PACKAGE>
with the name of the package you want to install:phpCopy codesudo snap install <PACKAGE>
This command will initiate the installation process through the terminal. - Provide your password when prompted.
- Wait for the installation to complete.
Conclusion
Encountering the “Unable to install ‘<PACKAGE>’: snap ‘<PACKAGE>’ has ‘install-snap’ change in progress” error can be frustrating, but with the solutions provided in this guide, you can overcome it and successfully install your desired package. Remember to check the snap changes, abort any ongoing processes, and then retry the installation either through the Ubuntu Software Center or the terminal. Enjoy using your newly installed applications!
That’s it for troubleshooting the snap installation error. By following the steps outlined in this guide, you should be able to resolve the issue and install your desired packages without any problems.