当我尝试在ubuntu服务器14.04.2上安装dnsmasq时,它失败了,但在ubuntu桌面上运行正常。
我正在尝试使用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 :(得分: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
它适用于我