gpt4 book ai didi

ubuntu - 无法修复 Ubuntu 12.04 libcanberra-gtk 上的依赖问题

转载 作者:行者123 更新时间:2023-12-04 18:34:50 27 4
gpt4 key购买 nike

由于 libcanberra-gtk0 上的依赖项错误,无法安装任何软件包也不是“apt-get upgrade”

apt-get 检查

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
gnome-session-canberra : Breaks: libcanberra-gtk0 (< 0.28-4) but 0.28-3ubuntu3 is installed
E: Unmet dependencies. Try using -f.

apt-get -f 安装
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libcanberra-gtk0
The following packages will be upgraded:
libcanberra-gtk0
1 upgraded, 0 newly installed, 0 to remove and 585 not upgraded.
2 not fully installed or removed.
Need to get 0 B/17.1 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: dependency problems prevent configuration of libcanberra-gtk0:i386:
gnome-session-canberra (0.28-4) breaks libcanberra-gtk0 (<< 0.28-4) and is unpacked but not configured.
Version of libcanberra-gtk0:i386 to be configured is 0.28-3ubuntu3.
dpkg: error processing libcanberra-gtk0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-session-canberra:
gnome-session-canberra depends on libcanberra-gtk0; however:
Package libcanberra-gtk0:i386 is not configured yet.
dpkg: error processing gnome-session-canberra (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
Errors were encountered while processing:
libcanberra-gtk0:i386
gnome-session-canberra
E: Sub-process /usr/bin/dpkg returned an error code (1)

试图安装一些东西
apt-get install -f aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
aptitude : Depends: libboost-iostreams1.49.0 (>= 1.49.0-1) but it is not going to be installed
Depends: libcwidget3 but it is not going to be installed
Depends: libept1.4.12 but it is not going to be installed
Recommends: aptitude-doc-en but it is not going to be installed or
aptitude-doc
Recommends: libparse-debianchangelog-perl but it is not going to be installed
gnome-session-canberra : Breaks: libcanberra-gtk0 (< 0.28-4) but 0.28-3ubuntu3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我如何重新安装软件包?

提前致谢。

最佳答案

您必须在启动板中查找指定的包,所以对于 libcanberra-gtk0你需要得到here ,但您可能想更改为另一个 ubuntu 版本和架构。

然后你需要重新输入sudo apt-get -f install并且您可能会不断收到有关库依赖项的错误消息,并且您必须再次重复该过程。

但是,这种方法也很危险,因为它还会影响 ubuntu 升级版本的方式……因为它无法解析这些包。

关于ubuntu - 无法修复 Ubuntu 12.04 libcanberra-gtk 上的依赖问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10867312/

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