我试图更新更新通知程序和更新通知程序-常见,但我得到的错误信息,而不是。我该怎么做才能修复坏掉的更新?
Setting up update-notifier-common (3.192.40.4) ...
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 24, in <module>
import debian.deb822
ModuleNotFoundError: No module named 'debian'
dpkg: error processing package update-notifier-common (--configure):
installed update-notifier-common package post-installation script subprocess returned error exit st
atus 1
dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on update-notifier-common (= 3.192.40.4); however:
Package update-notifier-common is not configured yet.
dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
Processing triggers for libglib2.0-0:amd64 (2.68.1-1~ubuntu21.04.1) ...
No apport report written because the error message indicates its a followup error from a previous fa
ilure.
Override for key “direction” in schema “org.xfce.mousepad.state.search” in override file “/usr
/share/glib-2.0/schemas/20_xubuntu-default-settings.gschema.override” is outside the range given in
the schema; ignoring override for this key.
Processing triggers for libglib2.0-0:i386 (2.68.1-1~ubuntu21.04.1) ...
Override for key “direction” in schema “org.xfce.mousepad.state.search” in override file “/usr/share
/glib-2.0/schemas/20_xubuntu-default-settings.gschema.override” is outside the range given in the sc
hema; ignoring override for this key.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
update-notifier-common
update-notifier
E: Sub-process /usr/bin/dpkg returned an error code (1)8年前有这说要重新安装python,但是apt说这个包是不可用的。我担心在python安装上做错了事情,因为这似乎是一个很大的麻烦。
我正在使用Xubuntu 21.04,如果这是相关的话。
发布于 2021-12-17 11:29:33
你得跑
sudo apt-get update
sudo apt-get install --reinstall python3-debian然后使用以下命令安装所有升级
sudo apt-get --fix-broken install
sudo apt-get dist-upgradehttps://askubuntu.com/questions/1382388
复制相似问题