2016-10-13 58 views
1

我嘗試Ubuntu上安裝freeipa服務器,但沒有得到它,因爲我收到以下錯誤安裝安裝freeipa服務器:無法在Ubuntu

sudo apt-get install freeipa-server 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
E: Unable to locate package freeipa-server 

我已經嘗試過在Ubuntu 14.04和也在Ubuntu的16.04,但沒有運氣。 freeipa-client安裝得很好,但不是freeipa-server。任何想法我怎麼能解決這個問題?

非常感謝, 迪帕克

回答

0

的包似乎是可以16.04 only。它位於全域,因此請確保在「軟件&更新」下標記它並運行sudo apt update

要添加您還可以編輯/etc/apt/sources.list或調用庫:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" 
+0

感謝您的答覆@wrwrwr,我使用AWS AMI圖像的Ubuntu 16.04 - 在這種情況下,我怎麼可以將其標記「軟件下& 更新」? –

+0

優秀!它像魅力一樣工作。非常感謝。 –