无法安装快照应用程序

Dus*_*tin 18 software-installation 16.04 snap

我在周末从 14.04.x 升级到 16.04(64 位)。天哪!刚刚有一篇关于如何快速安装笔记的帖子。

Ctrl+ Alt+T然后

sudo snap install notes
Run Code Online (Sandbox Code Playgroud)

然后输入我的密码..

sudo: snap: command not found
Run Code Online (Sandbox Code Playgroud)

怎么了?我错过了什么?我不想错过这个新的快照乐趣。

and*_*.46 27

以下在我的系统上工作:

sudo apt-get install snapd
sudo snap install notes
Run Code Online (Sandbox Code Playgroud)

我需要注销然后重新登录 Dash 才能找到“注释”:

在此处输入图片说明

注意:目前与另一个名为snap 的Xenial 软件包存在一些混淆,它给出:“使用隐藏的马尔可夫模型从 DNA 序列中定位基因”。如果您dpkg在安装时遇到与此包有关的错误snapd(特别是覆盖常用名称的手册页),请运行以下命令:

sudo apt-get purge snap
Run Code Online (Sandbox Code Playgroud)

然后你应该去:)

应用程序“Notes”可能有点平淡无奇,其他软件包看起来更有希望:

andrew@athens:~$ snap find
Name                   Version                  Summary
audovia                3.2.2                    Database application for making music using JFugue MusicStrings
beagleblack            3.1                      OEM Beagle Bone Black
canonical-dragon       0.7.1                    The gadget snap for the dragonboard
canonical-i386         3.1.i386                 The gadget snap for generic i386 systems
canonical-pc           3.2                      AMD64 generic package
canonical-pc-linux     4.4.0-18+20160419.13-26  The ubuntu-core kernel snap
canonical-pi2          3.2                      Raspberry Pi 2 support package
go-example-webserver   16.04-4                  Minimal Golang webserver for snappy
hello-world            6.0                      Hello world example
http                   4.6692016                HTTPie in a snap
john-the-ripper        1.8.0-11765-g9a09113     John the Ripper Jumbo password cracker for Linux
links                  2.12-1                   Web browser running in text mode
moon-buggy             1.0.51.9                 Drive a car across the moon
morse-converter-py     1-2                      Simple command-line Morse converter
nmap                   7.12SVN-0.4              Nmap ("Network Mapper") is a free and open source utility for network discovery and security auditing
notes                  0.0.8~snap3.gita80fd1c   Note-taking application, write down your thoughts
shout                  0.53.0                   A self hosted web IRC client
sshtron                1.0                      multiplayer Tron via ssh
tmux                   2.3bump1                 tmux
tor-middle-relay       0.2.7.6-6                Essential infrastructure node for Tor network
ubuntu-calculator-app  2.1+snap3                Ubuntu Calculator application for the Unity 7 desktop
ubuntu-clock-app       3.6+snap3                Ubuntu Clock application for the Unity 7 desktop
ubuntu-core            16.04+20160419.20-55     The ubuntu-core OS snap
xkcd-webserver         16.04-5                  Show random XKCD compic via a build-in webserver
yacas                  1.4.2                    Yet Another Computer Algebra System
Run Code Online (Sandbox Code Playgroud)

有趣的时代即将来临...

  • 这与某些 DNA 软件发生冲突:http://packages.ubuntu.com/source/xenial/snap 名为“snap”,信不信由你。看起来手册页的名称相同。尝试`sudo apt-get remove snap && sudo apt-get install snapd`,你应该没问题...... (2认同)

小智 6

有 4 个步骤:

  1. sudo rm /etc/apt/preferences.d/nosnap.pref

  2. sudo apt update

  3. sudo apt install snapd

然后,安装您需要的任何内容,例如:

  1. sudo snap install rocketchat-desktop或者sudo snap install notes