[Bug 2137161] [NEW] Failed to refresh cache

Ukeme Edet 2137161 at bugs.launchpad.net
Sat Dec 27 07:05:14 UTC 2025


Public bug reported:

Refreshing the cache failed.

Traceack:

sudo update-manager

(update-manager:13328): dconf-WARNING **: 07:46:34.203: failed to commit
changes to dconf: Failed to execute child process “dbus-launch” (No such
file or directory)

(update-manager:13328): dconf-WARNING **: 07:46:34.203: failed to commit
changes to dconf: Failed to execute child process “dbus-launch” (No such
file or directory)

(update-manager:13328): libunity-CRITICAL **: 07:46:34.209: file unity-
launcher.c: line 1646: unexpected error: Failed to execute child process
“dbus-launch” (No such file or directory) (g-exec-error-quark, 8)

(update-manager:13328): libunity-CRITICAL **: 07:46:34.209:
unity_launcher_entry_dbus_impl_construct: assertion 'conn != NULL'
failed

(update-manager:13328): libunity-CRITICAL **: 07:46:34.214: unity-inspector.vala:96: Unable to connect to session bus: Failed to execute child process “dbus-launch” (No such file or directory)
warning: could not initiate dbus
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 270, in refresh_cache
    self.update_list.update(
    ~~~~~~~~~~~~~~~~~~~~~~~^
        self.cache,
        ^^^^^^^^^^^
        duplicate_packages=self.duplicate_packages,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ua_security_packages=self.ua_security_packages,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 646, in update
    self.update_groups = self._make_groups(
                         ~~~~~~~~~~~~~~~~~^
        cache, upgrade_pkgs
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 432, in _make_groups
    app = self._get_application_for_package(pkg)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 309, in _get_application_for_package
    score = self._rate_application_for_package(application, pkg)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 276, in _rate_application_for_package
    desktop_file = os.path.basename(application.get_filename())
                                    ~~~~~~~~~~~~~~~~~~~~~~~~^^
TypeError: GioUnix.DesktopAppInfo.get_filename() takes exactly 1 argument (0 given)

(update-manager:13328): GLib-GIO-CRITICAL **: 07:47:14.622: g_task_propagate_value: assertion 'task->result_set' failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 297, in cache_refreshed
    task_returned, task_result = task.propagate_value()
                                 ~~~~~~~~~~~~~~~~~~~~^^
TypeError: Invalid type

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 310, in cache_refreshed
    if e.matches(IO_ERR_QUARK, Gio.IOErrorEnum.FAILED):
       ^^^^^^^^^
AttributeError: 'TypeError' object has no attribute 'matches'

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2137161

Title:
  Failed to refresh cache

Status in update-manager package in Ubuntu:
  New

Bug description:
  Refreshing the cache failed.

  Traceack:

  sudo update-manager

  (update-manager:13328): dconf-WARNING **: 07:46:34.203: failed to
  commit changes to dconf: Failed to execute child process “dbus-launch”
  (No such file or directory)

  (update-manager:13328): dconf-WARNING **: 07:46:34.203: failed to
  commit changes to dconf: Failed to execute child process “dbus-launch”
  (No such file or directory)

  (update-manager:13328): libunity-CRITICAL **: 07:46:34.209: file
  unity-launcher.c: line 1646: unexpected error: Failed to execute child
  process “dbus-launch” (No such file or directory) (g-exec-error-quark,
  8)

  (update-manager:13328): libunity-CRITICAL **: 07:46:34.209:
  unity_launcher_entry_dbus_impl_construct: assertion 'conn != NULL'
  failed

  (update-manager:13328): libunity-CRITICAL **: 07:46:34.214: unity-inspector.vala:96: Unable to connect to session bus: Failed to execute child process “dbus-launch” (No such file or directory)
  warning: could not initiate dbus
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 270, in refresh_cache
      self.update_list.update(
      ~~~~~~~~~~~~~~~~~~~~~~~^
          self.cache,
          ^^^^^^^^^^^
          duplicate_packages=self.duplicate_packages,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          ua_security_packages=self.ua_security_packages,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 646, in update
      self.update_groups = self._make_groups(
                           ~~~~~~~~~~~~~~~~~^
          cache, upgrade_pkgs
          ^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 432, in _make_groups
      app = self._get_application_for_package(pkg)
    File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 309, in _get_application_for_package
      score = self._rate_application_for_package(application, pkg)
    File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 276, in _rate_application_for_package
      desktop_file = os.path.basename(application.get_filename())
                                      ~~~~~~~~~~~~~~~~~~~~~~~~^^
  TypeError: GioUnix.DesktopAppInfo.get_filename() takes exactly 1 argument (0 given)

  (update-manager:13328): GLib-GIO-CRITICAL **: 07:47:14.622: g_task_propagate_value: assertion 'task->result_set' failed
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 297, in cache_refreshed
      task_returned, task_result = task.propagate_value()
                                   ~~~~~~~~~~~~~~~~~~~~^^
  TypeError: Invalid type

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 310, in cache_refreshed
      if e.matches(IO_ERR_QUARK, Gio.IOErrorEnum.FAILED):
         ^^^^^^^^^
  AttributeError: 'TypeError' object has no attribute 'matches'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2137161/+subscriptions




More information about the foundations-bugs mailing list