【问题标题】:Phonetisaurus dependency issue音龙依赖问题
【发布时间】:2016-09-14 03:33:24
【问题描述】:

我正在尝试安装 Phonetisaurus(使用 Jasper 安装说明here)。不幸的是,我遇到了一个我无法解决的依赖问题。

当我运行命令sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm libfst-tools 时,我得到以下输出:

Reading package lists... done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  m2m-aligner : Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
  mitlm : Depends libmitlm0 (= 0.4.1-2) but it is not going to be installed
          Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
phonetisaurus : Depends: libfst4 (>=1.5.3+r3) but it is not installable
                Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed

尝试直接安装 libstdc++6(使用 sudo apt-get install libstdc++6sudo apt-get -f libstdc++6)给我留下了:

Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
The following packages were automatically installed and are no longer required:
  libboost-atomic1.55.0 libboost-filesystem1.55.0
  libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0
  libcwiid1 libfftw3-single3 libjs-prettify libqscintilla2-11
  libqscintilla2-l10n libqt4-network libqt4-xmlpatterns libqtwebkit4
  libruby1.9.1 libruby1.9.1-dbg libscsynth1 libtcltk-ruby1.9.1 ri1.9.1
  ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3
  supercollider supercollider-common supercollider-ide supercollider-language
  supercollider-server supercollider-supernova
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.

尝试安装 libfst4 给了我:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libfst4 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 'libfst4' has no installation candidate

尝试安装 libmitlm0 给了我:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libmitlm0 : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
E: Unable to correct problems, you have held broken packages.

我觉得我在这里缺少了一些东西,但是在搞砸了一天之后,我仍然无法弄清楚。任何帮助/见解将不胜感激。

【问题讨论】:

标签: raspberry-pi3 pocketsphinx


【解决方案1】:

感谢 G10DRAS 提供链接。

这个解决方案对我有用。首先,我下载了这些文件

sudo wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/phonetisaurus/is2013-conversion.tgz
sudo wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.3.4.tar.gz

然后,解压文件

tar -xvf is2013-conversion.tgz
tar -xvf openfst-1.3.4.tar.gz

最后,按照以下步骤操作:http://jasperproject.github.io/documentation/installation

【讨论】:

  • 这似乎有效,但是我无法移动安装指南告诉我的文件。我不断收到cp: cannot stat _filename_ no such file or directory 错误。
  • 没关系,我忘了我是在子目录中构建的,如果不调整文件路径以反映这一点,移动命令将无法工作。
猜你喜欢
  • 2012-05-23
  • 2017-07-12
  • 2020-08-13
  • 2012-12-29
  • 2020-10-21
  • 2020-05-19
  • 2012-03-23
  • 2011-03-08
  • 2017-12-26
相关资源
最近更新 更多