我在 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)