Pug*_*gby 8 updates apt update-notifier
我正在尝试更新 update-notifier 和 update-notifier-common,但收到此错误消息。我应该怎么做才能修复损坏的更新?
\nSetting 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 the error message indicates its a followup error from a previous fa\nilure.\n Override for key \xe2\x80\x9cdirection\xe2\x80\x9d in schema \xe2\x80\x9corg.xfce.mousepad.state.search\xe2\x80\x9d in override file \xe2\x80\x9c/usr\n/share/glib-2.0/schemas/20_xubuntu-default-settings.gschema.override\xe2\x80\x9d is outside the range given in \nthe schema; ignoring override for this key.\nProcessing triggers for libglib2.0-0:i386 (2.68.1-1~ubuntu21.04.1) ...\nOverride for key \xe2\x80\x9cdirection\xe2\x80\x9d in schema \xe2\x80\x9corg.xfce.mousepad.state.search\xe2\x80\x9d in override file \xe2\x80\x9c/usr/share\n/glib-2.0/schemas/20_xubuntu-default-settings.gschema.override\xe2\x80\x9d is outside the range given in the sc\nhema; ignoring override for this key.\nProcessing triggers for hicolor-icon-theme (0.17-2) ...\nErrors were encountered while processing:\n update-notifier-common\n update-notifier\nE: Sub-process /usr/bin/dpkg returned an error code (1)\nRun Code Online (Sandbox Code Playgroud)\n8年前就有这个说要重新安装python-debian,但是apt说这个包不可用。我担心 python 安装会做错事,因为修复它似乎会很麻烦。
\n我正在使用 Xubuntu 21.04(如果相关的话)。
\nN0r*_*ert 11
你必须跑
sudo apt-get update
sudo apt-get install --reinstall python3-debian
Run Code Online (Sandbox Code Playgroud)
然后使用以下命令安装所有升级
sudo apt-get --fix-broken install
sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3379 次 |
| 最近记录: |