首页
登录 | 注册

wsl,Ubuntu,关于解决E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/

大坑。

出现问题:

今天安装mysql,

sudo apt-get install mysql-server

一直报错:

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

解决方法:

sudo rm -rf /etc/apt/apt.conf.d/20snapd.conf

亲测有效

本文网址:http://www.bnee.net/article/2862587.html

相关文章