相关疑难解决方法(0)

WSL 18.04 上的 APT 损坏

我在 Ubuntu 18.04 的 WSL 安装中遇到了 apt 问题。

每当我尝试使用 apt 安装软件包时,我都会得到以下信息:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required: [...]

E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success
E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success …
Run Code Online (Sandbox Code Playgroud)

apt snap windows-subsystem-for-linux 18.04

36
推荐指数
1
解决办法
2万
查看次数

标签 统计

18.04 ×1

apt ×1

snap ×1

windows-subsystem-for-linux ×1