Julia 0.3.0:librmath-julia-dev无法安装

时间:2014-06-17 18:09:43

标签: ubuntu-12.04 julia

我正在尝试在Ubuntu 12.04上从julianightlies安装julia 0.3.0。我可以安装0.2.1就好了。我添加了

deb http://ppa.launchpad.net/staticfloat/julianightlies/ubuntu precise main 
deb-src http://ppa.launchpad.net/staticfloat/julianightlies/ubuntu precise main 
手动

到我的/etc/apt/sources.list。我跑的时候

sudo apt-get update
sudo apt-get install julia

我收到以下错误:

The following packages have unmet dependencies:
 julia : Depends: librmath-julia-dev but it is not installable
E: Unable to correct problems, you have held broken packages.

编辑: 在enabling all repos之后,它仍然会出现同样的错误。

以下是我尝试通过命令行添加repo时获得的内容:

USER:~$ sudo add-apt-repository ppa:staticfloat/julianightlies
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 128, in <module>
    ppa_info = get_ppa_info_from_lp(user, ppa_name)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 84, in get_ppa_info_from_lp
    curl.perform()
pycurl.error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')

当我下载.deb文件并在包管理器中打开它时,我收到警告:

depdendency is not satisfiable librmath-julia-dev

1 个答案:

答案 0 :(得分:5)

这个问题最终导致我还需要将ppa:staticfloat / julia-deps添加到我的sources.list中,如here所述。

我的其他问题源于我的网络强加的一些互联网配置,导致尝试通过命令行添加ppa失败。手动添加它们工作正常。