所以,我只是做了下面的事情,这对我来说完全没有意义。(请忽略我的自定义$PS1)。
让我们尝试以错误的方式安装Vs代码(正确的包名是code),并遵循管理单元的建议:
(base) nagyg -> snap install vscode
error: snap "vscode" is not available on stable but is available to install on the following
channels:
candidate snap install --candidate vscode
beta snap install --beta vscode
edge snap install --edge vscode
Please be mindful pre-release channels may include features not completely tested or
implemented. Get more information with 'snap info vscode'.
(base) nagyg -> snap install --beta vscode
error: snap "vscode" is not available on beta but is available to install on the following
channels:
edge snap install --edge vscode
Get more information with 'snap info vscode'.
(base) nagyg -> snap install --edge vscode
error: snap "vscode" is not available on latest/edge but other tracks exist.
Please be mindful that different tracks may include different features. Get more information
with 'snap info vscode'.
(base) nagyg -> snap info vscode
error: no snap found for "vscode" ...What?
包vscode不存在。我明白了。但是为什么Snap会做错误的声明,并将我指向开发通道上一个不存在的包呢?这里发生什么事情?
发布于 2021-09-01 08:29:49
您使用错误的命令来安装。首先检查快速存储是个好主意,以确保您做对了。
这是正确的安装命令:
sudo snap install code --classic如果您想了解snap和snap命令的内部工作方式,最好在Snapcraft论坛上询问,在那里开发人员有可能回答您的问题。
https://askubuntu.com/questions/1361276
复制相似问题