OpenMediaVault-4.0.15
执行更新(apt update
)时报错,详细错误信息如下:
1 2 3 4 5 6 7 8 9 10 |
命中:12 http://packages.openmediavault.org/public arrakis InRelease Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f7dc337b730> 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 0x7f7dc337b730> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable |
通过观察发现,只要从packages.openmediavault.org
中下载文件失败,就会报告这个错误。
发生错误之后,重新执行
1 |
$ sudo apt update |
即可解决这个问题,或者忽略这个错误信息即可。
thanks for this memo! very helpful!
博主你这个解决方法不对
正确的解决方法看这里
https://github.com/ayufan-rock64/linux-build/issues/136