
運行update-manager-text
結果出現錯誤訊息:
AttributeError: 'UpdateList' object has no attribute 'pkgs'
這是整個控制台輸出:
$ sudo update-manager-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building Updates List
Traceback (most recent call last):
File "/usr/bin/update-manager-text", line 70, in <module>
app = UpdateManagerText(data_dir)
File "/usr/lib/python3/dist-packages/UpdateManagerText/UpdateManagerText.py", line 55, in __init__
self.fillstore()
File "/usr/lib/python3/dist-packages/UpdateManagerText/UpdateManagerText.py", line 90, in fillstore
self.list.pkgs, key=operator.attrgetter("importance"),
AttributeError: 'UpdateList' object has no attribute 'pkgs'
這是 Ubuntu 17.10 上的「巧妙」。
有任何想法嗎?
答案1
似乎是個錯誤。我可以在我的 14.04 LTS、16.04 LTS、17.10 和 18.04 LTS 上確認這一點。
這錯誤 1385524歷史悠久 - 自 13.10 起。