Why do you see error: snap “xyz” not discovered?


Temporary: If you’re encountering snap not discovered error for some Snap packages, this tutorial will allow you to discover why.

Snap is the brand new common package deal system from Ubuntu that allows you to simply and securely set up software program on all Linux distributions that assist Snap. I like to recommend studying my different article to know extra about Snap packages and the best way to use them.

Whereas Snap packages are a superb new method of putting in purposes in Linux distributions, you could encounter a couple of error right here and there. As soon as such error I coated beforehand is “snapd returned standing code 400“.

However not too long ago certainly one of It’s FOSS reader encountered one other Snap error whereas making an attempt to put in VLC three.zero. You would possibly encounter the identical error with different purposes like Spotify or Skype. Let’s attempt to troubleshoot it.

Troubleshooting error: snap not discovered

Snap package not found on Linux

Earlier than you do the rest, please just remember to have snapd put in in your system. You’ll be able to set up it utilizing the usual package deal set up command of your Linux distribution.

For Debian and Ubuntu based mostly distributions, use the command under:

sudo apt set up snapd

Upon getting made positive that snapd is put in, let’s transfer ahead. Attempt to see in case your system really finds the snap utility in query.

For instance, if you’re making an attempt to put in VLC utilizing Snap and your system can not discover the applying, attempt to record all of the Snap packages accessible with ‘v’ or ‘vl’ and many others.

You should utilize the discover possibility of snap command within the following method:

snap discover 
Finding Snap packages for installation in Ubuntu Linux
Seek for Snap packages

Now, loads depends upon the end result. There are two prospects right here:

1. Snap discover command couldn’t discover the applying

If the output doesn’t consist the applying you have been making an attempt to put in, it implies that utility shouldn’t be accessible in your system.

Maintain on a second! What did I simply say? Is it even attainable? If it isn’t accessible in your system how can different individuals be capable to set up it?

The reply lies in whether or not you’re utilizing a 32-bit or 64-bit working system. You in all probability already know that assist for 32-bit programs is fading. Newer purposes are sometimes developed just for 64-bit programs.

If the Snap utility in query is simply accessible for 64-bit programs and you’re utilizing a 32-bit system, your Linux distribution gained’t see the packages. Therefore you see the package deal not discovered error whereas making an attempt to put in it with Snap command.

In different phrases, you can’t set up that utility utilizing Snap. Maybe you possibly can search for the common method of putting in that utility whether it is accessible in 32-bit format.

2. Snap discover command finds the applying

It might occur that the applying is listed within the output of the snap discover command. However then what may very well be the issue in putting in the package deal?

This relies if the Snap package deal is on the market in traditional. Snap packages by design are safe and they don’t work together with the host system. Some purposes want to make use of the host system and therefore a ‘traditional mode’ was launched in Snap packaging.

Classic snap application

If the applying is on the market in traditional mode, it’s essential specify that snap must be put in in traditional mode. That is finished through the use of the –traditional flag within the command.

sudo snap set up  --classic

Did it allow you to?

I hope this fast tip helped you to do away with the frequent snap package deal not discovered error. Be happy to make use of the remark part under to offer your suggestions.

Comments are closed.