I just fresh installed Ubuntu Preview on Win10 wsl2.Installed "Ubuntu (Preview)" from Microsoft Store.After installation the terminal showed following message.
Der Vorgang wurde erfolgreich beendet.rm: cannot remove '/etc/systemd/system/snapd.service': No such file or directoryInstallation successful!To run a command as administrator (user "root"), use "sudo ".See "man sudo_root" for details.
I'm wondering about the rm error message and so I checked on snapd.
$ sudo systemctl status snapd.service● snapd.service - Snap Daemon Loaded: loaded (/lib/systemd/system/snapd.service; enabled; preset: enabled) Active: active (running) since Thu 2023-02-23 12:45:20 CET; 1h 0min ago TriggeredBy: ● snapd.socket Main PID: 175 (snapd) Tasks: 13 (limit: 4356) Memory: 62.2M CGroup: /system.slice/snapd.service└─175 /usr/lib/snapd/snapd Feb 23 12:45:19 march42-P40 snapd[175]: patch.go:64: Patching system state level 6 to Sublevel 1... Feb 23 12:45:19 march42-P40 snapd[175]: patch.go:64: Patching system state level 6 to sublevel 2... Feb 23 12:45:19 march42-P40 snapd[175]: patch.go:64: Patching system state level 6 to sublevel 3... Feb 23 12:45:19 march42-P40 snapd[175]: daemon.go:247: started snapd/2.58.2+23.04 (series 16; classic; devmode; wsl) ub> Feb 23 12:45:19 march42-P40 snapd[175]: daemon.go:340: adjusting startup timeout by 45s (pessimistic estimate of 30s pl> Feb 23 12:45:19 march42-P40 snapd[175]: backends.go:58: AppArmor status: apparmor not enabled Feb 23 12:45:20 march42-P40 systemd[1]: Started Snap Daemon. Feb 23 12:45:20 march42-P40 systemd[1]: snapd.service: Got notification message from PID 323, but reception only permit> Feb 23 12:45:21 march42-P40 snapd[175]: hookmgr.go:518: Reported hook failure from "configure" for snap "core" as 8d495> Feb 23 12:55:33 march42-P40 snapd[175]: storehelpers.go:769: cannot refresh: snap has no updates available: "core20", ">
So, it seems to me, that snapd service is enabled and running and not configured correctly. Do I need to disable snapd.service on wsl2 or should it leave it like this?
thanks in advanceMarc