kubectl install : error: snap "kubectl" requires classic confinement which is only available on classic systems

Bug #1847190 reported by Jayashree
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi,

I am trying to install kubernetes using the command: "sudo snap install kubectl --classic"

But I am getting error and not able to install "snap "kubectl" requires classic confinement which is only available on classic systems"

Can you please help in resolving this.

snap version:
----------------
admin@localhost:~$ snap version
snap 2.41
snapd 2.41
series 16
kernel 4.4.0-164-generic

admin@localhost:~$ sudo snap install kubectl --classic
error: snap "kubectl" requires classic confinement which is only available on classic systems
admin@localhost:~$ sudo snap install kubectl
error: snap "kubectl" requires classic confinement which is only available on classic systems
admin@localhost:~$

Revision history for this message
Jayashree (jayashree192) wrote :

Ubuntu version is :
admin@localhost:~$ cat /etc/os-release
NAME="Ubuntu Core"
VERSION="16"
ID=ubuntu-core
PRETTY_NAME="Ubuntu Core 16"
VERSION_ID="16"
HOME_URL="http://www.snapcraft.io/"
BUG_REPORT_URL="http://bugs.launchpad.net/snappy/"

Revision history for this message
Jayashree (jayashree192) wrote :

Ubuntu version:
admin@localhost:~$ cat /etc/os-release
NAME="Ubuntu Core"
VERSION="16"
ID=ubuntu-core
PRETTY_NAME="Ubuntu Core 16"
VERSION_ID="16"
HOME_URL="http://www.snapcraft.io/"
BUG_REPORT_URL="http://bugs.launchpad.net/snappy/"

Revision history for this message
Olivier Tilloy (osomon) wrote :

Ubuntu Core only supports strictly confined snaps, so it's not suitable to install kubectl or other classic snaps. See https://snapcraft.io/docs/snap-confinement for more information.

Changed in gnome-software (Ubuntu):
status: New → Invalid
Revision history for this message
Jayashree (jayashree192) wrote :

Ok if I want to install kubectl or other classic snaps, what I need to do??
Any solution?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers