Unable to install snap-store in an Ubuntu 20.04 LTS LXC

alpha754293

Member
Jan 8, 2023
86
18
8
I am trying to install snap-store in an Ubuntu 20.04 LXC on my Proxmox server which is running Proxmox 7.4-17.

This is the error message that I get:

Code:
user@ubunt20:~/Desktop$ sudo snap install steam
error: cannot perform the following tasks:
- Setup snap "steam" (206) security profiles (cannot setup udev for snap "steam": cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)
- Setup snap "steam" (206) security profiles (cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)
- Setup snap "steam" (206) security profiles for auto-connections (cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)

Here is the <<VMID>>.conf:

Code:
arch: amd64
features: mount=fuse,fuse=1,nesting=1
hostname: ubuntu20
memory: 8192
nameserver: 8.8.8.8
net0: *snip*
ostype: ubuntu
rootfs: local-lvm:vm-1030-disk-0,size=100G
swap: 512
lxc.apparmor.raw: mount,
lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
lxc.cap.drop: 
lxc.cap.drop: mac_override sys_time sys_module sys_rawio
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow: c 195:* rwm
lxc.cgroup.devices.allow: c 506:* rwm
lxc.cgroup.devices.allow: c 226:* rwm
lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file
lxc.mount.entry: /dev/nvram dev/nvram none bind,optional,create=file
lxc.cgroup.devices.allow: c 116:* rwm
lxc.mount.entry: /dev/snd dev/snd none bind,optional,create=dir

squashfuse is already installed.

For /etc/udev/rules.d/, I copied the rules files from an Ubuntu 20.04 VM that I installed as an Oracle VirtualBox VM because I thought that it would be the easiest to get a copy of these files so that I can copy them into said Ubuntu 20.04 LXC.

Here is the output of sudo systemctl status snapd:

Code:
user@ubuntu20:~/Desktop$ sudo systemctl status snapd
● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2024-11-02 22:01:29 EDT; 25s ago
TriggeredBy: ● snapd.socket
   Main PID: 6297 (snapd)
      Tasks: 39 (limit: 309285)
     Memory: 21.4M
     CGroup: /system.slice/snapd.service
             └─6297 /usr/lib/snapd/snapd

Nov 02 22:01:29 ubuntu20 systemd[1]: Starting Snap Daemon...
Nov 02 22:01:29 ubuntu20 snapd[6297]: overlord.go:271: Acquiring state lock file
Nov 02 22:01:29 ubuntu20 snapd[6297]: overlord.go:276: Acquired state lock file
Nov 02 22:01:29 ubuntu20 snapd[6297]: daemon.go:250: started snapd/2.65.3+20.04 (series 16; classic) ubuntu/20.04 (amd64) linu>
Nov 02 22:01:29 ubuntu20 snapd[6297]: daemon.go:353: adjusting startup timeout by 1m0s (pessimistic estimate of 30s plus 5s pe>
Nov 02 22:01:29 ubuntu20 snapd[6297]: backends.go:58: AppArmor status: apparmor is enabled and all features are available
Nov 02 22:01:29 ubuntu20 systemd[1]: Started Snap Daemon.

Any help to try and get it running would be greatly appreciated.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!