无法在 Ubuntu14.10 上安装 Pharo

Can't install Pharo on Ubuntu14.10

我按照 site 的说明进行安装。 但是更新后我只得到 not found

sudo apt-get update

...

Failed to fetch http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-amd64/Packages 404 Not Found

所以我尝试直接下载运行。

./pharo

然后得到这个:

could not find module vm-display-X11

我是不是做错了什么?

编辑: 几周后,我再也无法打开 pharo 虚拟机了。 包管理器的错误信息是:

You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: pharo-launcher : Depends: pharo-vm-core-i386 but it is not installable

而命令apt-get -f install只是想删除pharo-launcher

The following packages will be REMOVED: pharo-launcher 0 upgraded, 0 newly installed, 1 to remove and 52 not upgraded.

如何解决?

看起来说明有点不对劲。特别是,他们拥有稳定构建的最新 Ubuntu 版本是 trusty。也许更改 PPA 以指向它?或者切换到 unstableutopic.

确实存在

参见 https://launchpad.net/~pharo/+archive/ubuntu/stable or https://launchpad.net/~pharo/+archive/ubuntu/unstable(展开折叠部分了解详细信息)。

更详细地说,apt-add-repository 所做的只是在 /etc/apt/sources.list.d/ 中添加一个名为 pharo.list 的文件——只需编辑此文件以满足您的需要(当然,您需要 sudo 权限才能编辑系统文件)。例如,要使用最新的稳定版本,更改文件使其包含

deb http://ppa.launchpad.net/pharo/stable/ubuntu trusty main 
deb-src http://ppa.launchpad.net/pharo/stable/ubuntu trusty main 

之前在 main 之前说 utopic

要完成更改,您需要再次 运行 apt-get update,这将根据您配置的来源刷新 Apt 数据库(即从每个来源下载 Packages 文件)。

最后,如果这超出了您的理解范围,并且您正 运行宁 Ubuntu 只是为了这个,运行宁 Trusty 而不是 Utopic 可能是最简单的解决方法;但这需要安装旧版本的 Ubuntu.

尝试:

 sudo dpkg --add-architecture i386 
 sudo apt-get update 
 sudo apt-get install libx11-6:i386 
 sudo apt-get install libgl1-mesa-glx:i386 
 sudo apt-get install libfontconfig1:i386 
 sudo apt-get install libssl1.0.0:i386