snap - unknown flag 'classic'
Tofloor
poster avatar
zakari
deepin
2017-04-24 01:25
Author
hi,

I have an application that distributed as a snap

i used the following cmd to install snap :
  1. sudo apt-get install snapd
Copy the Code


then running the cmd line provided by the author,
  1. sudo snap install --classic anbox-installer && anbox-installer
Copy the Code


gives the following error :
error: unknown flag 'classic'


--

when i run it without classic arg
  1. sudo snap install  anbox-installer && anbox-installer
Copy the Code
Im getting
snap not found



any tip?
Reply Favorite View the author
All Replies
a946488029
deepin
2017-04-24 02:17
#1
You can download and install the package of snapd from ubuntu mirrors.
Reply View the author
zakari
deepin
2017-04-24 02:42
#2
please tell me how to
Reply View the author
MeowSprite
deepin
2017-04-24 04:32
#3
only snap 2.2 and above support"--classic" flag.  you can use ubuntu ppa to get newest version.
please try anbox in ubuntu16.04. It's unsupported to other linux distrubutions and unstable now.
Reply View the author
A·S·M·X·T 😏😜
deepin
2017-04-24 05:51
#4
Maybe you can try install snapd from Debian-testing source:
  1. echo -e "deb http://mirrors.ustc.edu.cn/debian/ testing main contrib non-free \ndeb-src http://mirrors.ustc.edu.cn/debian/ testing main contrib non-free" | sudo tee /etc/apt/sources.list.d/debian_testing.list
Copy the Code
  1. echo -e "Package: * \nPin: release a=testing \nPin-Priority: 300" |sudo tee /etc/apt/preferences.d/debian_low_priority
Copy the Code
  1. sudo apt update &&sudo apt-get install -t testing snapd
Copy the Code
Reply View the author
A·S·M·X·T 😏😜
deepin
2017-04-24 05:59
#5
I have successfully installed / run anbox on deepin, but the bug is a lot.
Reply View the author