在 12.04 上安装 eViacam 时出现依赖性问题

在 12.04 上安装 eViacam 时出现依赖性问题

我用了易维雅在 Windows 中,但现在我正在使用 (L)ubuntu 12.04,无法安装。我找到了在 ubuntu 11.10 上安装它的指南,但我有未解决的依赖关系。

运行“ sudo apt-get install libcv2.1 libhighgui2.1 libwxbase2.8-0 libwxgtk2.8-0”时出错

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libcv2.1 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

Package libhighgui2.1 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 'libcv2.1' has no installation candidate
E: Package 'libhighgui2.1' has no installation candidate

指南链接

编辑:

我已经添加了他们的存储库,并再次更新了未解决的依赖关系:

ergo@ikarusII:~$ sudo apt-get install eviacam
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  wx2.8-i18n
The following packages will be upgraded:
  eviacam
1 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.
1 not fully installed or removed.
Need to get 5,235 kB of archives.
After this operation, 468 kB disk space will be freed.
Get:1 http://ppa.launchpad.net/cesar-crea-si/eviacam/ubuntu/ precise/main eviacam i386 1.5.4-0ubuntu1~precise [5,235 kB]
Fetched 5,235 kB in 18s (287 kB/s)                                             
dpkg: dependency problems prevent configuration of eviacam:
 eviacam depends on libcv2.1; however:
  Package libcv2.1 is not installed.
 eviacam depends on libhighgui2.1; however:
  Package libhighgui2.1 is not installed.
dpkg: error processing eviacam (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 eviacam
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

libcv2.1 在 Ubuntu 12.04 上不可用(根据packages.ubuntu.com它已被 libcv2.3 取代)。您需要联系该 PPA 的作者,似乎唯一的方法是通过他们的论坛并询问 eViacam 是否与 libcv2.3 兼容,如果是,他们是否会更新 PPA 中的包装以依赖于该包装而不是 libcv2.1。

libhighgui2.1 也发生了同样的事情(它被 libhighgui2.3 取代),所以您会想同时询问它。

答案2

只是一个更新 - 我遵循了这些说明eviacam 网站:

sudo add-apt-repository ppa:cesar-crea-si/eviacam

sudo apt-get 更新

sudo apt-get 安装 eviacam

并且它在 Gnome Ubuntu 14.04 上安装良好,因此@tgm4883 提到的依赖问题一定已经解决。

相关内容