依赖问题阻碍了 energytycoon 的配置

依赖问题阻碍了 energytycoon 的配置

在虚拟 ubuntu 框(15.04)上,我尝试使用以下命令安装 debian 包

sudo dpkg -i energytycoon_release1_package.deb

这会导致一些错误:

Selecting previously unselected package energytycoon.
(Reading database ... 271927 files and directories currently installed.)
Preparing to unpack energytycoon_release1_package.deb ...
Unpacking energytycoon (1.0) ...
dpkg: dependency problems prevent configuration of energytycoon:
 energytycoon depends on libogremain-1.6.4.
 energytycoon depends on libois-1.2.0.

dpkg: error processing package energytycoon (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Errors were encountered while processing:
 energytycoon

当我尝试安装其中一个缺失的软件包时,我得到以下输出:

> sudo apt-get install libois-1.2.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libois-1.2.0:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libois-1.2.0:i386' has no installation candidate

或者对于其他包:

> sudo apt-get install libogremain-1.6.4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libogremain-1.6.4
E: Couldn't find any package by regex 'libogremain-1.6.4'

我该如何解决这个问题?

答案1

libois-1.2.0 是一个过时的软件包,在 Ubuntu 的最新版本中已被替换为libois-1.3.0

如果您需要旧版本,您仍然可以尝试使用来安装它sudo dpkg -i <deb_file>

仍然可以从启动板下载 deb 包:amd64或者i386

以 amd64 为例:sudo dpkg -i libois-1.2.0_1.2.0-2_amd64.deb

相关内容