![apt 升级导致:错误无法连接到 zsys 守护程序; /run/zsysd.sock:连接:没有这样的文件或目录](https://linux22.com/image/177401/apt%20%E5%8D%87%E7%BA%A7%E5%AF%BC%E8%87%B4%EF%BC%9A%E9%94%99%E8%AF%AF%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%E5%88%B0%20zsys%20%E5%AE%88%E6%8A%A4%E7%A8%8B%E5%BA%8F%EF%BC%9B%20%2Frun%2Fzsysd.sock%EF%BC%9A%E8%BF%9E%E6%8E%A5%EF%BC%9A%E6%B2%A1%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E6%96%87%E4%BB%B6%E6%88%96%E7%9B%AE%E5%BD%95.png)
我运行的是 Ubuntu 20.04,每次运行 apt 升级时,都会收到以下错误:
ERROR couldn't connect to zsys daemon: connection error: desc = "transport: Error while dialing dial unix /run/zsysd.sock: connect: no such file or directory"
Setting up zsys (0.4.6) ...
dpkg: error processing package zsys (--configure):
installed zsys package post-installation script subprocess returned error exit
status 1
Errors were encountered while processing:
zsys
ERROR couldn't connect to zsys daemon: connection error: desc = "transport: Error while dialing dial unix /run/zsysd.sock: connect: no such file or directory"
E: Sub-process /usr/bin/dpkg returned an error code (1)
我知道这与实验性 zfs 有关,因为我注意到它需要更长的时间来拍摄快照。我四处搜寻,但找不到任何相关的东西。