无法安装快照应用


13

我在周末从14.04.x升级到16.04(64位)。天哪!刚刚发布了有关如何快速安装便笺的帖子。

Ctrl+ Alt+ T然后

sudo snap install notes

然后输入我的密码。

sudo: snap: command not found

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


什么输出sudo updatedb && locate '*bin*/snap'
heemayl

无,没有输出。
达斯汀

Answers:


23

以下在我的系统上工作:

sudo apt-get install snapd
sudo snap install notes

我需要注销,然后再返回Dash来查找“注释”:

在此处输入图片说明

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

sudo apt-get purge snap

然后您应该走对了:)

应用程序“ 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

有趣的时刻...


dpkg:处理归档文件/var/cache/apt/archives/snapd_2.0.2_amd64.deb(--unpack)时出错:试图覆盖'/usr/share/man/man1/man1/snap.1.gz',该文件也位于软件包快照2013-11-29-1ubuntu2处理man-db的触发器(2.7.5-1)...处理时遇到错误:/var/cache/apt/archives/snapd_2.0.2_amd64.deb E:Sub-进程/ usr / bin / dpkg返回错误代码(1)
Dustin

1
这与某些DNA软件存在冲突:packages.ubuntu.com/source/xenial/snap名为“ snap”,信不信由你。手册页的名称看起来一样。试试吧sudo apt-get remove snap && sudo apt-get install snapd,你应该没事……
andrew.46 46年

太棒了!谢谢。我应该像我们的评论一样接受您的答案,还是应该在接受之前将您的评论信息添加到答案中?
达斯汀

1
我在有关的包装问题的一些单词添加snapsnapd。或许也应添加在Launchpad中的bug报告....
andrew.46

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.