I just hit this in a 16.04 container, but for reasons I don't understand installing the core snap first worked around the problem:
$ sudo snap install go --classic error: cannot perform the following tasks: - Setup snap "core" (5662) security profiles (cannot setup udev for snap "core": cannot reload udev rules: exit status 2 udev output: ) - Setup snap "core" (5662) security profiles (cannot reload udev rules: exit status 2 udev output: ) $ sudo snap install core core 16-2.35.4 from 'canonical' installed $ sudo snap install go --classic go 1.11.1 from Michael Hudson-Doyle (mwhudson) installed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1712808 Title: udev interface fails in privileged containers To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1712808/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs