我一直在尝试安装CoreBird Twitter应用程序,但运气不好让我无法编译它,然后我遇到了deb(从此处开始)并尝试以这种方式进行安装。
但是,我得到了这个错误:
corebird depends on libglib2.0-0 (>= 2.41.1); however:
Package libglib2.0-0:amd64 is not configured yet.
corebird depends on libgtk-3-0 (>= 3.13.7); however:
Version of libgtk-3-0:amd64 on system is 3.10.8-0ubuntu1.4.
因此,我尝试变得聪明,手动跟踪并安装这些库。我找到了正确的deb文件,但是当我跑dpkg -i
了libglib
DEB,我得到这个:
pkg: error processing package libglib2.0-0:amd64 (--install):
package libglib2.0-0:amd64 2.42.0-2 cannot be configured because libglib2.0-0:i386 is at a different version (2.40.2-0ubuntu1)
以及其他一些无法配置的信息,因为libglib2.0-0:amd64是错误的版本。
这是我做错的地方。我不假思索地跑了sudo apt-get remove libglib2.0-0:amd64
。
因此,很明显,它造成了大量的依赖问题,并告诉我运行sudo apt-get -f install
。我做到了,现在我得到了:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
corebird : Depends: libgtk-3-0 (>= 3.13.7) but 3.10.8-0ubuntu1.4 is installed
libglib2.0-0 : Breaks: libglib2.0-0:i386 (!= 2.42.0-2) but 2.40.2-0ubuntu1 is installed
libglib2.0-0:i386 : Breaks: libglib2.0-0 (!= 2.40.2-0ubuntu1) but 2.42.0-2 is installed
libglib2.0-bin : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.42.0-2 is installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.40.2-0ubuntu1) but 2.42.0-2 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
显然,glib
我删除了先前安装的2.40.2之后安装的2.42.0-2软件包,现在引起了各种各样的问题。显然,这是一个问题。
有人知道如何解决此问题吗?
我的/var/log/dist-upgrade/apt.log
文件为空:
cat /var/log/dist-upgrade/apt.log
cat: /var/log/dist-upgrade/apt.log: No such file or directory
该命令不dpkg --get-selections | grep hold
返回任何内容:
$ dpkg --get-selections | grep hold
$
编辑
这个问题不是重复的。aptitude
即使我想要也无法安装(相同错误。)