20.04 软件更新程序不再列出从中下载的存储库

20.04 软件更新程序不再列出从中下载的存储库

在过去几周的某个时候,我的 20.04 系统中的软件更新程序发生了变化。

在更改之前,当您手动启动它时,它会列出正在下载软件包信息列表的每个存储库。(至少,我认为它是这样做的。)

现在,当您手动启动它时,您会看到一条消息,提示“正在等待 packagekitd 退出”,并且没有任何视觉指示表明它正在从哪个存储库下载。之后,它会继续像以前一样运行,加载软件列表,显示可供安装的软件包列表,等等。

我没有更改任何设置或与软件更新程序相关的任何其他内容。我唯一做的事情就是定期应用所有可用的更新。事实上,我每天早上启动时都会手动运行更新程序并应用它提供的所有内容。所以据我所知,系统拥有所有最新的软件包。

如果这是故意的改变,那没问题,但这是一个奇怪的改变。根据您的网络和软件存储库的繁忙程度,您可以盯着该 packagekitd 消息一段时间,然后它才会返回并继续下一步。事实上,我第一次注意到它时,以为是卡住了,退出更新程序,然后重试。在第二次尝试中,我更加耐心,一切顺利,但仍然看起来不同,如上所述。

如果这不是故意的改变,我该如何改回来?如果我没有做任何事情来让这种情况发生,会发生什么事情导致这种行为?

谢谢!

--- 于 2020 年 11 月 27 日编辑,添加了更多详细信息以回应第一条评论 ---

/var/log/syslog 仅包含来自软件更新程序的以下错误:

Nov 27 11:39:36 zaphod zeitgeist-datah[2918]: zeitgeist-datahub.vala:210: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required

我通过 synaptic 包管理器重新安装了 python3-update-manager、update-manager-core 和 update-manager,然后重新运行 update-manager。上述错误仍然存​​在。

但是我无法判断 packagekitd 消息是否仍在发生。鉴于存储库数据在几分钟前才更新,因此没有任何内容正在下载,并且消息(如果有的话)消失得如此之快,我甚至看不到它。

我将在稍后的某个时间重试软件更新程序(可能是明天早上,那时存储库已经更改,因此需要下载新的软件包列表),并在得到答案后在这里报告。

实际上,为了全面起见,我将在这里包含更新管理器运行的 /var/log/syslog 的整个输出,因为现在我更深入地研究,我也看到那里发生了某种 DNS 问题:

Nov 27 11:34:28 zaphod zeitgeist-datah[2918]: zeitgeist-datahub.vala:210: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
Nov 27 11:34:28 zaphod systemd[1753]: Started Application launched by gnome-shell.
Nov 27 11:34:29 zaphod dbus-daemon[909]: [system] Activating service name='org.debian.apt' requested by ':1.255' (uid=1000 pid=11085 comm="/usr/bin/python3 /usr/bin/update-manager " label="unconfined") (using servicehelper)
Nov 27 11:34:30 zaphod AptDaemon: INFO: Initializing daemon
Nov 27 11:34:30 zaphod org.debian.apt[11100]: 11:34:30 AptDaemon [INFO]: Initializing daemon
Nov 27 11:34:30 zaphod dbus-daemon[909]: [system] Successfully activated service 'org.debian.apt'
Nov 27 11:34:30 zaphod AptDaemon: INFO: UpdateCache() was called
Nov 27 11:34:30 zaphod org.debian.apt[11100]: /usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:35: PyGIWarning: PackageKitGlib was imported without specifying a version first. Use gi.require_version('PackageKitGlib', '1.0') before import to ensure that the right version gets loaded.
Nov 27 11:34:30 zaphod org.debian.apt[11100]:   from gi.repository import PackageKitGlib as pk
Nov 27 11:34:30 zaphod org.debian.apt[11100]: 11:34:30 AptDaemon [INFO]: UpdateCache() was called
Nov 27 11:34:30 zaphod AptDaemon.Trans: INFO: Queuing transaction /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:30 zaphod org.debian.apt[11100]: 11:34:30 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:30 zaphod AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:30 zaphod org.debian.apt[11100]: 11:34:30 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:30 zaphod AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:30 zaphod org.debian.apt[11100]: 11:34:30 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:30 zaphod AptDaemon.Worker: INFO: Updating cache
Nov 27 11:34:30 zaphod org.debian.apt[11100]: 11:34:30 AptDaemon.Worker [INFO]: Updating cache
Nov 27 11:34:31 zaphod systemd-resolved[677]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Nov 27 11:34:31 zaphod systemd-resolved[677]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Nov 27 11:34:32 zaphod dbus-daemon[909]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.258' (uid=0 pid=11469 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined")
Nov 27 11:34:32 zaphod systemd[1]: Starting PackageKit Daemon...
Nov 27 11:34:32 zaphod PackageKit: daemon start
Nov 27 11:34:32 zaphod dbus-daemon[909]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 27 11:34:32 zaphod systemd[1]: Started PackageKit Daemon.
Nov 27 11:34:41 zaphod AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:34:41 zaphod org.debian.apt[11100]: 11:34:41 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/b862decf962e42cba77ebb616e2b0708
Nov 27 11:35:27 zaphod systemd[1753]: gnome-launched-update-manager.desktop-11085.scope: Succeeded.

--- 于 11 月 28 日编辑以添加更多内容 ---

今天早上重新运行软件更新程序。问题仍然没有改变。

我的系统仍然在欺骗启动后发生的事情,但是这是更新程序运行时 /var/log/syslog 的内容:

Nov 28 08:17:25 zaphod zeitgeist-datah[3163]: zeitgeist-datahub.vala:210: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
Nov 28 08:17:25 zaphod systemd[1811]: Started Application launched by gnome-shell.
Nov 28 08:17:28 zaphod dbus-daemon[841]: [system] Activating service name='org.debian.apt' requested by ':1.196' (uid=1000 pid=3954 comm="/usr/bin/python3 /usr/bin/update-manager " label="unconfined") (using servicehelper)
Nov 28 08:17:28 zaphod AptDaemon: INFO: Initializing daemon
Nov 28 08:17:28 zaphod org.debian.apt[3973]: 08:17:28 AptDaemon [INFO]: Initializing daemon
Nov 28 08:17:28 zaphod dbus-daemon[841]: [system] Successfully activated service 'org.debian.apt'
Nov 28 08:17:28 zaphod AptDaemon: INFO: UpdateCache() was called
Nov 28 08:17:28 zaphod org.debian.apt[3973]: /usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:35: PyGIWarning: PackageKitGlib was imported without specifying a version first. Use gi.require_version('PackageKitGlib', '1.0') before import to ensure that the right version gets loaded.
Nov 28 08:17:28 zaphod org.debian.apt[3973]:   from gi.repository import PackageKitGlib as pk
Nov 28 08:17:28 zaphod org.debian.apt[3973]: 08:17:28 AptDaemon [INFO]: UpdateCache() was called
Nov 28 08:17:28 zaphod AptDaemon.Trans: INFO: Queuing transaction /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:28 zaphod org.debian.apt[3973]: 08:17:28 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:28 zaphod AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:28 zaphod org.debian.apt[3973]: 08:17:28 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:28 zaphod AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:28 zaphod org.debian.apt[3973]: 08:17:28 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:30 zaphod AptDaemon.Worker: INFO: Updating cache
Nov 28 08:17:30 zaphod org.debian.apt[3973]: 08:17:30 AptDaemon.Worker [INFO]: Updating cache
Nov 28 08:17:31 zaphod systemd-resolved[648]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Nov 28 08:17:31 zaphod systemd-resolved[648]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Nov 28 08:17:35 zaphod AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:35 zaphod org.debian.apt[3973]: 08:17:35 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/c70d7e23ecbb49ae8307fc3f51ca51d1
Nov 28 08:17:43 zaphod systemd[1811]: gnome-launched-update-manager.desktop-3954.scope: Succeeded.

我看到与以前相同的错误:

GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required

以及以下警告:

Nov 28 08:17:28 zaphod org.debian.apt[3973]: /usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:35: PyGIWarning: PackageKitGlib was imported without specifying a version first. Use gi.require_version('PackageKitGlib', '1.0') before import to ensure that the right version gets loaded.

我正在考虑 NXDOMAIN 产品,因为昨天的一些研究告诉我它们可能没什么可担心的。

我不是这方面的专家,但这里没有什么对我来说那么重要,也可能无法解释我所看到的行为。

相关内容