WSL Ubuntu 解决出现 E: Could not read response to hello message from hook ...问题 作者: Chuwen 时间: 2019-08-01 分类: Linux # 使用 apt 会出下如下提示 ``` chuwen@WenzhouChan:~$ sudo apt autoremove [sudo] password for chuwen: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 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: 成功 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: 成功 ``` # 解决方法: 执行以下命令 ``` sudo rm -rf /etc/apt/apt.conf.d/20snapd.conf ``` # 完美解决 转载自:http://www.bnee.net/article/2862587.html 标签: Linux, Ubuntu