2016-07-21 148 views
0

當我嘗試在Ubuntu 14.04.2上安裝dnsmasq時,它失敗了,但是在Ubuntu桌面上它工作正常。在Ubuntu服務器上安裝dnsmasq時出錯14.04

我試圖安裝它使用apt-get install dnsmasq 我有更新和升級系統。

它拋出的錯誤是下一個:

Ikerlan @ server1: ~ $ sudo apt-get install dnsmasq

Reading package lists ... Done 
Building dependency tree 
Reading state information ... Done 
They could not install some packages. This may mean that 
He requested an impossible situation or if you are using the distribution 
unstable, that some required packages have not been created or have 
They have been moved out of Incoming. 
The following information may help resolve the situation: 

The following packages have unmet dependencies: 
    dnsmasq: Depends: init-system-helpers (> = 1.18 ~) but 1.14 will be installed 
E: We were unable to correct problems, you have held broken packages. 

回答

0

解決方案:

sudo wget -O- http://neuro.debian.net/lists/trusty.de-md.libre | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list 

sudo apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu:80 0xA5D32F012649A5A9 

sudo apt-get update 

它工作正常,我