Seeing again on 18.04 LTS:
ThinkPad-T430:~$ update-manager
(software-properties-gtk:10545): Gtk-CRITICAL **: 09:07:43.316: gtk_box_gadget_distribute: assertion ‘size >= 0’ failed in GtkNotebook
(software-properties-gtk:10545): Gtk-CRITICAL **: 09:07:43.319: gtk_box_gadget_distribute: assertion ‘size >= 0’ failed in GtkNotebook
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 368, in refresh_cache
self.cache = MyCache(None)
File “/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py”, line 77, in init
assert(not self._dpkgJournalDirty())
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py”, line 114, in
button.connect(“clicked”, lambda x: callback())
File “/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py”, line 129, in on_settings_button_clicked
self.window_main.show_settings()
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 216, in show_settings
self.start_available()
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 238, in start_available
self.refresh_cache()
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 401, in refresh_cache
self.update_list.update(self.cache, eventloop_callback=iterate)
File “/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py”, line 479, in update
self.distUpgradeWouldDelete = cache.saveDistUpgrade()
AttributeError: ‘NoneType’ object has no attribute ‘saveDistUpgrade’
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 368, in refresh_cache
self.cache = MyCache(None)
File “/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py”, line 77, in init
assert(not self._dpkgJournalDirty())
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py”, line 114, in
button.connect(“clicked”, lambda x: callback())
File “/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py”, line 339, in available
self.window_main.start_available(error_occurred=True)
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 238, in start_available
self.refresh_cache()
File “/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py”, line 401, in refresh_cache
self.update_list.update(self.cache, eventloop_callback=iterate)
File “/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py”, line 479, in update
self.distUpgradeWouldDelete = cache.saveDistUpgrade()
AttributeError: ‘NoneType’ object has no attribute ‘saveDistUpgrade’
Going to do reinstall ‘sudo apt-get install --reinstall update-manager synaptic’