为什么我在安装 Ubuntu 后会看到这些回溯和 Python 相关的警告

Ell*_*len 4 linux ubuntu

当我打开计算机时,我总是在大窗口中看到此通知,但我不知道如何解决此问题。

我已多次尝试解决此问题,但问题仍然存在,我不知道还能做什么。

在此输入图像描述

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 711, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/dbus_backend.py", line 375, in deal_message
    QueueMessageClient(self.config, self.scheduler).LogLogMetricEvent("FRONTEND", "Dell Linux Assistant closes")
  File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/telemetry_common.py", line 300, in wrapper
    return func(*args, **kw)
  File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/queue_message_client.py", line 107, in LogLogMetricEvent
    return self.triggerSend(filePath, header, Schedule)
  File "/usr/lib/python3/dist-packages/DellLinuxAssistant/telemetry/queue_message_client.py", line 51, in triggerSend
    job = self.scheduler.add_interval_job(MessageHelper(self.configure).SendEvent, minutes=1, start_date=datetime.now()+timedelta(seconds=1), args=[filePath, header], max_runs=1)
  File "/usr/lib/python3/dist-packages/ApschedulerStandalone/scheduler.py", line 347, in add_interval_job
    return self.add_job(trigger, func, args, kwargs, **options)
  File "/usr/lib/python3/dist-packages/ApschedulerStandalone/scheduler.py", line 285, in add_job
    if not self.running:
  File "/usr/lib/python3/dist-packages/ApschedulerStandalone/scheduler.py", line 148, in running
    thread_alive = self._thread and self._thread.isAlive()
AttributeError: 'Thread' object has no attribute 'isAlive'
Run Code Online (Sandbox Code Playgroud)

Dan*_*l B 7

您在此处看到的错误消息来自 \xe2\x80\x9cDell Linux Assistant\xe2\x80\x9d,这显然是戴尔决定在附带 Ubuntu 的计算机上预安装的一些软件。

\n

该错误是 Python 3.9 中的重大更改造成的。Dell Linux Assistant 与 Python 3.9 不兼容。当您升级到 Ubuntu 21.10 时,您很可能获得了 Python 3.9。

\n

基本上有两种前进方式:

\n
    \n
  1. 联系戴尔支持并让他们提供软件的更新版本
  2. \n
  3. 删除软件
  4. \n
\n

要删除它,请根据此答案,从终端窗口运行以下命令:

\n
sudo apt remove dell-recovery dell-linux-assistant\n
Run Code Online (Sandbox Code Playgroud)\n

当出现提示时,您必须输入您的用户\xe2\x80\x99s 密码。

\n

您也可以尝试阻止软件自动启动,但我不知道它最初是如何启动的。

\n