APT 返回 TypeError 的错误

最近在为公司整理工作环境,部署 OMV 4 时,发现 apt update 指令会引发如下错误:

Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x............>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at …
Read more…