1. 程式人生 > >ubuntu16.04 上安裝 ICE

ubuntu16.04 上安裝 ICE

第一部分 Zeroc 官方文件

在ubuntu上安裝ICE的官方文件:

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 update
sudo 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

這部分說一下我在安裝時遇到的問題。

[email protected]:~$ 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.

[email protected]:~$

百度了很長時間也沒找到原因,後來從下往上依次執行 sudo apt-get install xxx.後來才懷疑是找不到包。

[email protected]:~$ 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 source

E: Package ‘zeroc-ice-utils’ has no installation candidate
[email protected]:~$

最後想到要驗證 repository 是不是弄錯了。於是開啟下面的連結,發現無論是在虛擬機器ubuntu,還是在宿主windows上,總是報 NoSuchKey。

ubuntu顯示NoSuchKey

windows顯示NoSuchKey

然後在公司的linux server上再連這個網址,它居然就可以開啟。我覺得應該是公司的防火牆對windows主機做了一些過濾導致不能正常列出Zeroc的檔案。

linux居然能訪問

後來在家裡試了試,也是報 NoSuchKey。
安裝不了怎麼辦?最後只能研究如何用原始碼安裝ICE。

具體的會在下一篇文章裡介紹。

相關推薦

ubuntu16.04 安裝 ICE

第一部分 Zeroc 官方文件 在ubuntu上安裝ICE的官方文件: 1. 安裝 Zeroc key sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 5E6DA83306132997

Ubuntu16.04安裝virtualbox後無法裝載vboxdrv模塊

enforce install ins 裝載 available uefi oot 解決 quest 首先按照:http://blog.csdn.net/ipsecvpn/article/details/52175279 這個網址上的教程安裝, 安裝完成後報錯:大體意思就

Docker在Ubuntu16.04安裝和部署Apache Storm

雲計算 docker storm 安裝 部署 Docker在Ubuntu16.04上安裝和部署Apache Storm1、添加Docker源sudo apt-get update 2、增加CA證書sudo apt-get install apt-transport-https ca-cer

翻譯:如何在Ubuntu16.04安裝Mosquitto這個MQTT消息服務器並對其進行安全配置

加ss ide 特定 path cert 安裝完成 再次 應用 ron 原文地址: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-m

Ubuntu16.04 安裝MySQL5.7

col client 16px tor div 登陸 blog ref mysql5.7 Ubuntu版本:16.04.4 1.先更新最新的源 sudo apt-get update 2.查看是否已經安裝過mysql sudo netstat

ubuntu16.04安裝配置DHCP服務的詳細過程

exists sys support asi running 存在 type enca maintain DHCP服務器是為客戶端機器分配IP地址的,所有分配的IP地址都保存在DHCP服務器的數據庫中。為了在子網中實現DHCP分配IP地址,需要在目標主機上安裝配置DHCP服

Ubuntu16.04安裝Anaconda(3.6版本)和tensorflow模型

1、下載Anaconda3-4.3.1-Linux-x86_64和(64位)tensorflow-1.0.0 在linux上:bash  /home/jdmking/Anaconda3-4.3.1-Linux-x86_64.sh(/home/jdmking/為存放路徑) 2、閱讀l

ubuntu16.04 安裝 ROS kinetic

傳送門  :   ROS kinetic官網安裝說明:http://wiki.ros.org/kinetic/Installation/Ubuntu (其實我知道放上官網地址你也不會看哈哈哈哈) 1. 配置Ubuntu的資源庫:"restricted","universe

Ubuntu16.04安裝cudnn教程和opencv

https://blog.csdn.net/wang15061955806/article/details/80791112 Ubuntu16.04上安裝cudnn教程 2018年06月24日 14:34:24 圖形碼農 閱讀數:3551   查看了ca

ubuntu16.04安裝opstack ocata版本

可以看連結https://www.linuxidc.com/Linux/2017-04/142431.htm下面是我自己配的, 日誌是在/var/log/目錄下,dashboard日誌可以通過/var/log/apache2/中檢視 sudo apt install vim

Tensorflow Ubuntu16.04安裝及CPU執行Tensorboard、CNN、RNN圖文教程

Tensorflow Ubuntu16.04上安裝及CPU執行tensorboard、CNN、RNN圖文教程 Ubuntu16.04系統安裝 Win7 U盤安裝Ubuntu16.04 雙系統詳細教程參看部落格:http://blog.csdn.net/coderjyf/article/det

Ubuntu16.04安裝cudnn教程

查看了caffe最新版程式的install requirement : https://github.com/BVLC/caffe,這裡我安裝的是CUDA8.0+cudnn5.0(注:其實使用cudnn6.0也可以,但是後來安裝tensorfow-gpu1.0.1時,出現cu

Ubuntu16.04安裝novnc服務

1.novnc下載    https://github.com/novnc/noVNC/releases    2.vncserver安裝    sudo apt-get install tightvncserver            a.啟動vncserver     

Ubuntu16.04安裝Zotero

參考: 安裝方式: 終端安裝 安裝程式碼: # Add a ppa so that the program gets updated regularly: $ sudo apt-add-repository ppa:smathot/cogscinl # Say

Ubuntu16.04安裝Tensorflow的步驟

Ubuntu16.04安裝後會帶有Python的兩個版本,分別是Python2.7.2,、Python3.5。將系統預設的python版本改為Python3.5的命令為: sudo update-alternatives --install /usr/bin/python

Ubuntu16.04安裝cudnn5.1詳細教程

2、下載完成之後進入下載目錄(將下載的安裝包拷貝到home資料夾下),執行以下命令進行解壓:sudo tar -zxvf ./cudnn-8.0-linux-x64-v5.1.tgz解壓之後,得到一個 cudn 資料夾,該資料夾下include 和 lib64 兩個資料夾,命

Ubuntu16.04安裝Jdk1.8和Tomcat8

Ubuntu16.04安裝Jdk1.8和Tomcat8問題處理 Ubuntu16.04上原本安裝有jdk1.7版本,現在打算安裝一個1.8版本,並安裝Tomcat8,但是安裝以後發現啟動Tomcat時,始終報錯: org.apache.catalina.

Ubuntu16.04安裝Chrome瀏覽器

首先從官方網站上下載字尾名為.deb的軟體包。接著在終端執行下面的命令。將軟體包移動至/usr/local 目錄下(Linux 中第三方軟體一般都安裝在這個目錄下)sudo mv google-chrome-stable_current_amd64.deb /usr/loca

ssh與vnc配置錄——在Ubuntu16.04安裝ssh服務端及x11vnc

上次立了個FLAG。。。結果vncserver配置搞了半天,最後選擇還是用回x11vnc(換成x11vnc之後蘇胡了很多。。。)。 首先說下遇到了什麼問題吧,vncserver有個配置檔案叫做xstartup,根據網上的文章貧僧把這個檔案修改了不下50次,裝過

【Caffe】Ubuntu16.04配置安裝caffe(Only CPU)

nts dia 使用 word sci oos evel 成功 eve 一、首先看看自己的系統,Ubuntu16.04,cpu,沒有Nvidia,沒有opencv 二、安裝依賴包 安裝protobuf,leveldb,snappy,OpenCV,hdf5, protob