这是apt-get
在运行 Debian Bookworm 的 Raspberry Pi 4B 上安装后使用的情况:
root@rpi4:/root# apt-cache policy snapd
snapd:
Installed: 2.57.6-1+b5
Candidate: 2.57.6-1+b5
Version table:
*** 2.57.6-1+b5 500
500 http://deb.debian.org/debian bookworm/main arm64 Packages
100 /var/lib/dpkg/status
这是我的 Linux Mint 21.3 Cinnamon 的输出:
$ apt-cache policy snapd
snapd:
Installed: 2.45.1+20.04
Candidate: (none)
Version table:
2.63+22.04 -10
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
2.58+22.04.1 -10
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
2.55.3+22.04 -10
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
*** 2.45.1+20.04 -10
100 /var/lib/dpkg/status
$ sudo apt-get install snapd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package snapd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'snapd' has no installation candidate
我的 Mint 上是否存在一些需要解决的问题,或者可能存在一些暂时性错误?
来自Linux Mint 文档:
该配置仍存在于 LM21 中。此外,您需要
sudo
所有三个命令,而不仅仅是第一个命令。