带有 ubuntu 20.04 的全新 sys76 Thelio 桌面
在连接在线帐户(谷歌)的安装过程中,安装挂起,我不得不硬重启。安装似乎在重新启动后重新开始,这次跳过了链接在线帐户。安装完成,一切看起来都很好。但是,当我尝试启动软件更新时,它会崩溃。我重新启动并尝试再次启动软件更新和同样的事情。
在我修复此问题之前,我将无法安装或升级软件。任何有关如何解决此问题的帮助将不胜感激。谢谢你。
以下来自应用程序日志:
12:10:32 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:32 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:32 update-manager: trans = yield self.client.update_cache(defer=True)
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 66, in update
12:10:32 update-manager: result = gen.throw(excep)
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 483, in _inline_callbacks
12:10:32 update-manager: Traceback (most recent call last):
12:10:32 update-manager: During handling of the above exception, another exception occurred:
12:10:32 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:32 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:32 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:32 update-manager: return self.get_name_owner(bus_name)
12:10:32 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
12:10:32 update-manager: Traceback (most recent call last):
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
12:10:30 update-manager: self.start_service_by_name(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
12:10:30 update-manager: self._named_service = conn.activate_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
12:10:30 update-manager: return self.ProxyObjectClass(self, bus_name, object_path,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
12:10:30 update-manager: return dbus.Interface(bus.get_object("org.debian.apt",
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
12:10:30 update-manager: daemon = get_aptdaemon(self.bus)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
12:10:30 update-manager: result = gen.send(result)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
12:10:30 update-manager: raise self.value.with_traceback(self.traceback)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 130, in raise_exception
12:10:30 update-manager: error.raise_exception()
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1594, in on_error
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: During handling of the above exception, another exception occurred:
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:30 update-manager: return self.get_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
12:10:30 update-manager: self.start_service_by_name(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
12:10:30 update-manager: self._named_service = conn.activate_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
12:10:30 update-manager: return self.ProxyObjectClass(self, bus_name, object_path,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
12:10:30 update-manager: return dbus.Interface(bus.get_object("org.debian.apt",
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
12:10:30 update-manager: daemon = get_aptdaemon(self.bus)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
12:10:30 update-manager: result = gen.send(result)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: During handling of the above exception, another exception occurred:
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:30 update-manager: return self.get_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: Permission denied
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
12:10:30 update-manager: self.start_service_by_name(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
12:10:30 update-manager: self._named_service = conn.activate_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
12:10:30 update-manager: return self.ProxyObjectClass(self, bus_name, object_path,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
12:10:30 update-manager: return dbus.Interface(bus.get_object("org.debian.apt",
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
12:10:30 update-manager: daemon = get_aptdaemon(self.bus)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
12:10:30 update-manager: result = gen.send(result)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
12:10:30 update-manager: Traceback (most recent call last):
12:10:30 update-manager: During handling of the above exception, another exception occurred:
12:10:30 update-manager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
12:10:30 update-manager: reply_message = self.send_message_with_reply_and_block(
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
12:10:30 update-manager: return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
12:10:30 update-manager: return self.get_name_owner(bus_name)
12:10:30 update-manager: File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
长话短说,经过一些研究和检查日志后,我决定尝试重新安装一些东西。为此,我尝试了以下方法:
幸运的是,这似乎解决了问题。