在 ubuntu 服务器 14.04 上安装 dnsmasq 时出错
Error installing dnsmasq on ubuntu server 14.04
当我尝试在 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.
解决方案:
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
对我来说很好用
当我尝试在 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.
解决方案:
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
对我来说很好用