在尝试从 Ubuntu 软件应用程序下载 vscode 时,我遇到了以下错误:
Detailed errors from the package manager follow:
snapd returned status code 400: Bad Request
Run Code Online (Sandbox Code Playgroud)
在谷歌搜索这个错误后,我接受了以下链接给出的建议:
当我尝试安装 vscode 时,snapd 返回错误代码 400
这导致我在终端中运行以下命令:
snap install vscode --classic
Run Code Online (Sandbox Code Playgroud)
该命令有效,但现在我找不到在我的机器上启动 vscode 的位置和方式。
有人有任何提示吗?
因此,我已从 15.10 升级到 16.04。我已经设法安装了一些快照,但现在我想知道如何启动它们?在 CLI 中输入他们的名字没有帮助。
我试过:ubuntu-core-launcher xkcd-webserver 但它只给了我这个消息:用法:ubuntu-core-launcher
我想知道在 CLI 和 GUI 中使用它们的方法。
我正在尝试将 VS Code 安装到 Ubuntu 18.04.1 中,但系统找不到 libgconf-2-4。
> sudo dpkg -i code_1.25.1-1531323788_amd64.deb
Selecting previously unselected package code.
(Reading database ... 146489 files and directories currently installed.)
Preparing to unpack code_1.25.1-1531323788_amd64.deb ...
Unpacking code (1.25.1-1531323788) ...
dpkg: dependency problems prevent configuration of code:
code depends on libgconf-2-4; however:
Package libgconf-2-4 is not installed.
dpkg: error processing package code (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support …
Run Code Online (Sandbox Code Playgroud) 运行命令如下:
sudo snap install --classic vscode
Run Code Online (Sandbox Code Playgroud)
我成功安装了 vscode。但是我无法启动 vscode。