dpkg:依赖问题阻碍配置

dpkg:依赖问题阻碍配置

我正在尝试在 ubuntu 12.04 上安装 armory,但是它不起作用:

$ sudo dpkg -i armory_0.88.1-beta_i386.deb
Selecting previously unselected package armory:i386.
(Reading database ... 222699 files and directories currently installed.)
Unpacking armory:i386 (from armory_0.88.1-beta_i386.deb) ...
dpkg: dependency problems prevent configuration of armory:i386:
 armory:i386 depends on python-qt4.
 armory:i386 depends on python-twisted.
 armory:i386 depends on python-psutil.
dpkg: error processing armory:i386 (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 armory:i386

看起来我需要安装软件包python-qt4python-twisted所以python-psutil我这样做了:

$ sudo apt-get install python-qt4 python-twisted python-psutil
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:
 armory:i386 : Depends: python-qt4:i386 but it is not going to be installed
               Depends: python-twisted:i386 but it is not installable
               Depends: python-psutil:i386 but it is not going to be installed
 python-qt4 : Depends: libqtassistantclient4 (>= 4.6.3) but it is not going to be installed
              Depends: sip-api-8.1
 python-twisted : Depends: python-twisted-conch (>= 1:11.0) but it is not going to be installed
                  Depends: python-twisted-mail (>= 11.0) but it is not going to be installed
                  Depends: python-twisted-lore (>= 11.0) but it is not going to be installed
                  Depends: python-twisted-news (>= 11.0) but it is not going to be installed
                  Depends: python-twisted-runner (>= 11.0) but it is not going to be installed
                  Depends: python-twisted-words (>= 11.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

由于某种原因,他们不想安装,所以我这样做了:(这是一个糟糕的举动吗?)

$ sudo apt-get -f install

之后大量的输出其中好像有很多包被删除了???什么都没发生。armory 仍然无法运行,现在我认为我搞砸了一些其他有效的包,因为我的 unity 栏上有很多带问号的空链接。甚至配置文件似乎也vim被更改了!

帮助!

(我还应该提到,我最近从 ubuntu 10.04 升级到了 12.04,并且可能不太顺利对于 bitcoind)

答案1

转发自 https://www.scootersoftware.com/vbulletin/showthread.php?13138-BC3-on-64-bit-Ubuntu-14-04

dpkg 不会安装依赖项,这就是它无法运行的原因。

安装它的简单方法是双击文件管理器以启动 Ubuntu 软件中心,然后单击安装。

尝试安装后,使用以下命令从终端进行安装dpkg

sudo apt-get remove bcompare
sudo apt-get update
sudo apt-get install gdebi
sudo gdebi bcompare-3.3.10.17762_i386.deb

如果您之前没有尝试安装Beyond Compare,那么sudo apt-get remove bcompare就没有必要了。

相关内容