https://www.linuxidc.com/Linux/2018-06/152993.htm
代码如下:
代码: 全选
deii@deii-TVB01:~$ snap switch-channel=candidate firefox
error: unknown command "switch-channel=candidate", see 'snap help'
deii@deii-TVB01:~$ snap refresh
error: cannot refresh: cannot refresh snap-declaration for "libreoffice": Get
https://api.snapcraft.io/api/v1/snaps/assertions/snap-declaration/16/CpUkI0qPIIBVRsjy49adNq4D6Ra72y4v?max-format=2:
dial tcp: lookup api.snapcraft.io on 127.0.1.1:53: server misbehaving
deii@deii-TVB01:~$ snap switch-channel=candidate firefox
error: unknown command "switch-channel=candidate", see 'snap help'
deii@deii-TVB01:~$ snap refresh
All snaps up to date.
deii@deii-TVB01:~$ snap list
Name Version Rev Tracking Developer Notes
core 16-2.33 4830 stable canonical core
electronic-wechat 2.0 7 stable ubuntu-dawndiy -
firefox 60.0-2 85 stable mozilla -
libreoffice 6.0.4.2 65 stable canonical -
moonplayer 0.1 3 stable xiaoguo -
skype 8.24.0.2 38 stable skype classic
vscode 1.24.1-1528912196 38 stable flexiondotorg classic
wuziqi 0.1 1 stable xiaoguo -
deii@deii-TVB01:~$ snap switch-channel=candidate firefox
error: unknown command "switch-channel=candidate", see 'snap help'
deii@deii-TVB01:~$ sudo snap switch-channel=candidate firefox
[sudo] deii 的密码:
error: unknown command "switch-channel=candidate", see 'snap help'