小编Pug*_*gby的帖子

无法更新更新通知程序,ModuleNotFoundError:没有名为“debian”的模块

我正在尝试更新 update-notifier 和 update-notifier-common,但收到此错误消息。我应该怎么做才能修复损坏的更新?

\n
Setting up update-notifier-common (3.192.40.4) ...\nTraceback (most recent call last):\n  File "/usr/lib/update-notifier/package-data-downloader", line 24, in <module>\n    import debian.deb822\nModuleNotFoundError: No module named \'debian\'\ndpkg: error processing package update-notifier-common (--configure):\n installed update-notifier-common package post-installation script subprocess returned error exit st\natus 1\ndpkg: dependency problems prevent configuration of update-notifier:\n update-notifier depends on update-notifier-common (= 3.192.40.4); however:\n  Package update-notifier-common is not configured yet.\n\ndpkg: error processing package update-notifier (--configure):\n dependency problems - leaving unconfigured\nProcessing triggers for libglib2.0-0:amd64 (2.68.1-1~ubuntu21.04.1) ...\nNo apport report written because …
Run Code Online (Sandbox Code Playgroud)

updates apt update-notifier

8
推荐指数
1
解决办法
3379
查看次数

标签 统计

apt ×1

update-notifier ×1

updates ×1