Snap is not working(cannot determine nfs usage in generateSystemKey: cannot parse /etc/fstab: expected at least 3 fields, found 1)

when I try to run Thunderbird -safe mode: 2025/07/15 09:06:03.886099 system_key.go:147: cannot determine nfs usage in generateSystemKey: cannot parse /etc/fstab: expected at least 3 fields, found 1 internal error, please report: running “thunderbird” failed: timeout waiting for snap system profiles to get updated

Is your /etc/fstab file okay ? that looks like it is corrupt or missing some comment sign in one line or similar …

Thank for your reply. I did not change my /etc/fstab. This is what it looks like:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=8111861c-4fe5-4b02-8d34-a62a4bf3c7e2 /               ext4    errors=remoun>
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=AC94-952F  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw           >
/dev/disk/by-uuid/01D60CFF0BF1D440
#/dev/sdb1 /media/bart/Elements1 ext3 defaults 0 2

Well, your paste is all messed up, please use three backticks ``` above and below pasted code, else the formatting is mangled … but it looks like your fstab is missing all comment signs # in front of actual comment lines, not sure if that is caused by the missing backticks or if it really is like that in your file, snapd likely makes sure to only parse lines that are uncommented and your error clearly shows that it tries to parse a commented line (which in the end is having the wrong number of fields)

But it did not copy the # signs. They are at the beginning of every sentence. Where should I use the three backticks? Above and below the two sentences that start is UUID?

This is a picture of what the file actually looks like

You’d wrap the text you want in a code block:

# /etc/fstab: static file system information.

# Use ‘blkid’ to print the universally unique identifier for a

# device; this may be used with UUID= as a more robust way to name devices

# that works even if disks are added and removed. See fstab(5).

# / was on /dev/nvme0n1p7 during installation

UUID=8111861c-4fe5-4b02-8d34-a62a4bf3c7e2 / ext4 errors=remoun>

# /boot/efi was on /dev/nvme0n1p1 during installation

UUID=AC94-952F /boot/efi vfat umask=0077 0 1 
/swapfile none swap sw 
/dev/disk/by-uuid/01D60CFF0BF1D440
#/dev/sdb1 /media/bart/Elements1 ext3 defaults 0 2

(basically,

```

content

```

The first thing which looks wrong is /dev/disk/by-uuid/01D60CFF0BF1D440; you don’t list a mountpoint, FS type, or options. Is that UUID the one for /dev/sdb1?

You could run mount -av to see if mount will give you more tips.

1 Like

Right, dilyn is correct here, that specific line is malformed and the reason why snapd can not parse the file, comment it or fix it (by adding the correct arguments/fields) and your snaps should start working again …

Thank you. When I enter the Mount -av it responds: mount: /etc/fstab: parse error at line 13 – ignored mount: /etc/fstab: parse error at line 15 – ignored / : ignored /boot/efi : already mounted none : ignored Line 13 is the Line that starts with /dev/disk. What is wrong there? On line 15 I added three backticks. I should remove them again?

You should not add backticks to any file, you should use backticks when you paste code (or file contents) here in the forum inside a post so the formatting stays intact … :slight_smile:

To fix the fstab file you can just add a # in front of the broken line for now (not sure how it got there at all though, you must have added it by hand there i assume)

Thanks again. This problem is solved now, but snap is not working. When I now try to run Thunderbird in safe mode it responds: running “thunderbird” failed: cannot find installed snap “thunderbird” at revision 751: missing file /snap/thunderbird/751/meta/snap.yaml

I tried Snap refresh and got this message: ��<�pre>sudo snap refresh 2025-07-15T16:10:52+02:00 INFO Waiting for conflicting change in progress: conflicting slot snap snapd, task "connect" 2025-07-15T16:10:52+02:00 INFO Waiting for conflicting change in progress: conflicting slot snap gnome-42-2204, task "connect" error: cannot perform the following tasks: - Run post-refresh hook of "firefox" snap if present (run hook "post-refresh": cannot locate base snap core22: No such file or directory) - Run configure hook of "snapd-desktop-integration" snap if present (run hook "configure": cannot locate base snap core22: No such file or directory) - Run configure hook of "snap-store" snap if present (run hook "configure": cannot locate base snap core22: No such file or directory) <�/pre>

I would probably try rebooting to see if that resolves it; the errors effectively mean your snaps aren’t mounted. There’s probably a cute way to have snapd fix it but a reboot will do it quick enough.

Yeah, I’d also try a reboot first, I guess the problem with your fstab kind of got everything confused now …

The reboot did not work. Snap still is not working. When I tried to run Thunderbird in safe mode I got the same message.

Fascinating.

Can you post your fixed /etc/fstab? Perhaps it got malformed again, which makes this even more interesting.

If you check snap list, are any snaps marked as e.g. broken in the notes column? Are there any interesting errors in snap changes? @ogra knows more about debugging runtime snapd problems than I do so perhaps they have a clever thought.

/etc/fstab is not changed. snap list:

Name                       Version           Rev    Tracking         Publisher   Notes
bare                       1.0               5      latest/stable    canonical✓  base
core20                     20250526          2599   latest/stable    canonical✓  base
core22                     20250612          2045   latest/stable    canonical✓  base
firefox                    99.0.1-1          1232   latest/stable/…  mozilla✓    -
gnome-42-2204              0+git.38ea591     202    latest/stable    canonical✓  -
gtk-common-themes          0.1-81-g442e511   1535   latest/stable/…  canonical✓  -
snap-store                 41.3-59-gf884f48  575    latest/stable/…  canonical✓  -
snapd                      2.70              24792  latest/stable    canonical✓  snapd
snapd-desktop-integration  0.1               10     latest/stable/…  canonical✓  -

snap changes:

ID   Status  Spawn                Ready                Summary
13   Error   today at 08:36 CEST  today at 08:36 CEST  Snaps "core22", "firefox", "snapd-desktop-integration" automatisch verversen
14   Done    today at 15:56 CEST  today at 15:56 CEST  Regenerate security profiles
15   Error   today at 16:10 CEST  today at 16:11 CEST  Refresh snaps "firefox", "snap-store", "snapd-desktop-integration"

This gives two errors. I do not see Thunderbird on de list of snaps?

Firefox does not open. When I try to refresh Firefox I get: snap refresh firefox error: cannot perform the following tasks:

  • Run post-refresh hook of “firefox” snap if present (run hook “post-refresh”: cannot locate base snap core22: No such file or directory)

Could you also paste the output of snap change 13 and snap change 15 so we get some details about the errors ?

This is the current output of snap changes: snap changes ID Status Spawn Ready Summary 14 Done yesterday at 15:56 CEST yesterday at 15:56 CEST Regenerate security profiles 15 Error yesterday at 16:10 CEST yesterday at 16:11 CEST Refresh snaps “firefox”, “snap-store”, “snapd-desktop-integration” 16 Error yesterday at 21:00 CEST yesterday at 21:00 CEST Snaps “firefox”, “snap-store”, “snapd-desktop-integration” automatisch verversen 17 Error today at 09:18 CEST today at 09:19 CEST ververs “firefox” snap 18 Error today at 14:48 CEST today at 14:48 CEST Snap “snap-store” automatisch verversen