ubuntu16.04 上安装 ICE
来源:互联网 发布:大数据搜索引擎技术 编辑:程序博客网 时间:2024/06/10 01:49
第一部分 Zeroc 官方文档
在ubuntu上安装ICE的官方文档:
https://doc.zeroc.com/display/Ice36/Using+the+Linux+Binary+Distributions#UsingtheLinuxBinaryDistributions-InstallingIceonUbuntu
1. 安装 Zeroc key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 5E6DA83306132997
2. 添加 repository
sudo apt-add-repository "deb http://zeroc.com/download/apt/ubuntu`lsb_release -rs` stable main"
3. 更新 package 列表,然后 安装
sudo apt-get updatesudo apt-get install zeroc-ice-all-runtime zeroc-ice-all-dev
另外, 由于 ICE 执行热备份之类的管理任务需要用到 Berkeley DB ,故还需要安装 db5.3-util
sudo apt-get install db5.3-util
第二部分 为什么我就是安装不了ICE
这部分说一下我在安装时遇到的问题。
icebergwu@ubuntu16:~$ sudo apt-get install zeroc-ice-all-runtime
zeroc-ice-all-dev [sudo] password for icebergwu: 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: zeroc-ice-all-dev :
Depends: libzeroc-ice-dev (= 3.6.3-1000)
Depends: libzeroc-ice-java (= 3.6.3-1000) but it is not installable zeroc-ice-all-runtime : Depends: libzeroc-ice3.6
(= 3.6.3-1000) but it is not installable
Depends: libzeroc-freeze3.6 (= 3.6.3-1000) but it is not installable
Depends: zeroc-glacier2 (= 3.6.3-1000) but it is not installable
Depends: zeroc-icebox (= 3.6.3-1000) but it is not installable
Depends: zeroc-icegrid (= 3.6.3-1000) but it is not installable
Depends: libzeroc-icestorm3.6 (= 3.6.3-1000) but it is not installable
Depends: zeroc-icepatch2 (= 3.6.3-1000) but it is not installable
Depends: zeroc-ice-utils (= 3.6.3-1000) but it is not installable
Depends: zeroc-ice-utils-java (= 3.6.3-1000) but it is not going to be installed E: Unable to correct problems, you
have held broken packages. icebergwu@ubuntu16:~$
百度了很长时间也没找到原因,后来从下往上依次执行 sudo apt-get install xxx.后来才怀疑是找不到包。
icebergwu@ubuntu16:~$ sudo apt-get install zeroc-ice-utils Reading
package lists… Done Building dependency tree Reading state
information… Done Package zeroc-ice-utils 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 sourceE: Package ‘zeroc-ice-utils’ has no installation candidate
icebergwu@ubuntu16:~$
最后想到要验证 repository 是不是弄错了。于是打开下面的链接,发现无论是在虚拟机ubuntu,还是在宿主windows上,总是报 NoSuchKey。
http://zeroc.com/download/apt/ubuntu16.04
https://zeroc.com/download/apt/ubuntu16.04
然后在公司的linux server上再连这个网址,它居然就可以打开。我觉得应该是公司的防火墙对windows主机做了一些过滤导致不能正常列出Zeroc的文件。
后来在家里试了试,也是报 NoSuchKey。
安装不了怎么办?最后只能研究如何用源码安装ICE。
具体的会在下一篇文章里介绍。
- ubuntu16.04 上安装 ICE
- ubuntu16.04上用源代码安装ICE
- Ubuntu16.04上安装mysql
- ubuntu16.04上安装bochs
- ubuntu16.04上安装mysql
- 在ubuntu16.04上安装mysql
- 在Ubuntu16.04上安装Emacs
- 在 Ubuntu16.04 上安装 LaTeX
- 在Ubuntu16.04上安装国际版QQ
- 在Ubuntu16.04上安装Aegisub
- Cryptdb在Ubuntu16.04上的安装
- 安装有道词典Ubuntu16.04上
- 如何在ubuntu16.04上安装jdk
- 在windows10上安装Ubuntu16.04教程
- ubuntu16.04 x64上nginx源码安装
- 在Ubuntu16.04上安装QQ
- 在 Ubuntu16.04 上安装 OpenCV3.2.0
- 在 Ubuntu16.04 上安装 LaTeX
- OpenCV学习笔记(08):opencv3.2+cmake3.8+VS2013,编译opencv_contrib
- C语言写递归复制文件夹和文件
- 4月10日,MyThread,每日20行。
- Spring MVC 输出模型数据
- POJ3670Eating Together(LIS最长(非)上升(下降)子序列模板)
- ubuntu16.04 上安装 ICE
- Java从汉字到拼音--pinyin4j使用
- node.js项目改进之路由分发系统下路由命名
- UVA 1605 Building for UN 机智题。。
- caffe中DATA层crop_size解释
- CUDA编程优化及学习心得(持续更新)
- 通过文件配置Oracle网络服务,提示无法修改tnsname.ora文件解决办法
- 由树的后序遍历和中序遍历求层序遍历
- BZOJ 1500 [NOI2005]维修数列