Can´t Run the Snap after Installed

I made sure to install and update as the Lesson says

sudo snap install snapcraft --classic
sudo apt update
sudo apt install snapd

the snap was created and installed, i can even see the info of it but at the moment I try to execute it i got a response Permision Denied

sudo snap install ros2-talker-listener_0.1_amd64.snap --devmode
ros2-talker-listener 0.1 installed
user:~/default_ws/src/ros2-humble-talker-listener-snap$ ros2-talker-listener
cannot create cgroup hierarchy /sys/fs/cgroup/freezer/snap.ros2-talker-listener: Permission denied

imagen

Have you tried with sudo?

1 Like

Hello,

can you try to apt update & apt upgrade and see if the error is still happening?
It seems that the error could come from the server side, but I just tried the course and couldn’t reproduce the error.
Can you confirm the error is still happening?

2 Likes

thanks, it works with sudo ros2-talker-listener

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.