Hi, today a random user who was trying to install one of my application reported this weird error while they were trying to install one of my application called ktube-media-downloader, he sent me the screenshot of what is happening while they were trying to install the app. I am attaching the same below:
The screenshot reports “cannot install snap file: snap is unusable due to missing files” for both installs of ktube-media-downloader and qt551 content snap. Can someone from the snapd team confirm what is going on here? I looked in the forum already found nothing relevant. I tried to test the case myself by completely removing (and purging) both the snaps, both installed perfectly fine here on my test system (Ubuntu 16.04) which has snap --version:
snap 2.51.3
snapd 2.51.3
series 16
ubuntu 16.04
kernel 4.4.0-211-generic
I can’t help but notice that the user from the screenshot seems to have their hostname as “…-macbookpro…”, are they running on Linux or in a container on a Mac? If so then snap install will fail and is not supported, though I thought we had a more obvious message in that case…
Getting snap version from this user would be most helpful
Can the user run unsquashfs -v and attach the output? Looks suspiciously familiar to the problem I’ve observed on Arch with squashfs-tools 4.5, and the proposed fix is right here: https://github.com/snapcore/snapd/pull/10567
(That is assuming it’s even a Linux system as Ian has pointed out).
I don’t know if it is right to post here.
I am having the same problem on both manjaro and arch linux. journalctl -u snapd result
and
unsquashfs version 4.5
Then it sounds like a problem with squashfs 4.5, which should be fixed once https://github.com/snapcore/snapd/pull/10567 lands. I have already fixed this in the Arch package, so maybe they just need to rebuild snapd from AUR.
Hi! I am encountering a similar issue on Fedora, which apparently was introduced by a system update of a few days ago (unsure). snap suddenly stopped working, I noticed this while was performing a simple snap refresh command. I am unable to run any snap applications now. I tried force reinsalling snapd through dnf with no luck. I tried reinstalling the snapd rpm package as well, no changes.
snap refresh now currently shows the following error:
error: cannot perform the following tasks:
Mount snap “snapd” (12704) (snap is unusable due to missing files; contact developer)
Mount snap “core” (11420) (snap is unusable due to missing files; contact developer)
current output of snap --version :
snap 2.51-3.fc35
snapd 2.51-3.fc35
series 16
fedora 35
kernel 5.13.0-58.fc35.x86_64
output of snap list to show current core versions :
core 16-2.51.1 11316 latest/stable canonical✓ core
core18 20210611 2074 latest/stable canonical✓ base
core20 20210702 1081 latest/stable canonical✓ base
Also, now I get the same “snap is unusable due to missing files; contact developer)” error when trying to install any other snap application. Needless to say, it is impossibile to run any existing snap application as it will fail.
Great! I am ready to unpack the update, however I am missing glibc >= 2.33.9000-55.fc35 which is required by snapd and seemingly impossible to find anywhere (tried pkgs.org and rpm find.net to no avail). Any ideas where to find it for Rawhide on the x86_64 arch?
Quite possible that the repositories have synced and contain the right version of glibc already. If it’s not the case you can always run rpm -Uvh --nodeps with the package files you download directly from koji.
Can you file a bug for snapd in RHBZ? I see that squashfs-tools update to 4.5 was submitted to 4.5 testing no longer than 3 days ago and it’s already in stable.
edit: if possible then please downgrade to squashfs-tools-4.4-4.git1.fc34 while I prepare an update of snapd.