gpt4 book ai didi

dpkg - 在配置 dpkg 时获取依赖问题

转载 作者:行者123 更新时间:2023-12-05 09:22:39 25 4
gpt4 key购买 nike

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
Need to get 0 B/49.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package python-debian (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python-debian; however:
Package python-debian is not configured yet.

dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python-debian (>= 0.1.14); however:
Package python-debian is not configured yet.

dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
Package update-notifier-common is not configured yet.

dpkg: error processing package flashplugin-installer (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-aptdaemon:
python-aptdaemon dependNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
s on python-debian; however:
Package python-debian is not configured yet.

dpkg: error processing package python-aptdaemon (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-aptdaemon.gtk3widgets:
python-aptdaemon.gtk3widgets depends on python-aptdaemon (= 1.1.1-1ubuntu5); however:
Package python-aptdaemon is not configured yet.

dpkg: error processing package python-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-center:
software-center depends on python-aptdaemon (>= 0.40); however:
Package python-aptdaemon is not configured yet.
software-center depends on python-aptdaemon.gtk3widgets; however:
Package python-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package software-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of sessioninstaller:
sessioninstaller depends on python-aptdaemon.gtk3widgets; however:
Package python-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package sessioninstaller (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
E: Sub-process /usr/bin/dpkg returned an error code (1)

我在尝试配置 dpkg 时收到此错误...请告诉我该怎么做..我卡住了。

最佳答案

你的dpkg明显有问题。运行这个:

sudo dpkg --configure -a 

这将使 dpkg 自行修复

然后再次运行您的安装。

如果它不工作运行:

sudo apt-get install -f

再一次

sudo dpkg --configure -a

这应该可以解决问题

关于dpkg - 在配置 dpkg 时获取依赖问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25325513/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com